IB/hfi1: Remove unused function hfi1_mmu_rb_search
[deliverable/linux.git] / drivers / watchdog / jz4740_wdt.c
index 6a7d5c365438120d5a31d59038f1aaea777b691c..c8d51ddb26d5d26acb3c14251a60cdeb21b0be2c 100644 (file)
@@ -160,10 +160,8 @@ static int jz4740_wdt_probe(struct platform_device *pdev)
 
        drvdata = devm_kzalloc(&pdev->dev, sizeof(struct jz4740_wdt_drvdata),
                               GFP_KERNEL);
-       if (!drvdata) {
-               dev_err(&pdev->dev, "Unable to alloacate watchdog device\n");
+       if (!drvdata)
                return -ENOMEM;
-       }
 
        if (heartbeat < 1 || heartbeat > MAX_HEARTBEAT)
                heartbeat = DEFAULT_HEARTBEAT;
This page took 0.037693 seconds and 5 git commands to generate.