watchdog: lpc18xx: remove assignment of unused ret-value
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Sat, 10 Feb 2018 20:36:23 +0000 (21:36 +0100)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sat, 3 Mar 2018 16:04:16 +0000 (17:04 +0100)
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/lpc18xx_wdt.c

index b4221f43cd947f625d8124062cb05ccbed875ef8..331cadb459ac5da03c6f4c5fb74d7266c337e446 100644 (file)
@@ -265,7 +265,7 @@ static int lpc18xx_wdt_probe(struct platform_device *pdev)
        lpc18xx_wdt->wdt_dev.parent = dev;
        watchdog_set_drvdata(&lpc18xx_wdt->wdt_dev, lpc18xx_wdt);
 
-       ret = watchdog_init_timeout(&lpc18xx_wdt->wdt_dev, heartbeat, dev);
+       watchdog_init_timeout(&lpc18xx_wdt->wdt_dev, heartbeat, dev);
 
        __lpc18xx_wdt_set_timeout(lpc18xx_wdt);