diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-19 21:15:55 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2019-05-05 22:06:40 +0300 |
commit | 14fad5d98d904339d48813362dc8a5c10e3c920e (patch) | |
tree | 17edc7a0b0d31b4988ca4ee5b5a1f4e04c97fe83 /drivers/watchdog | |
parent | ff00800b6469a3495306ae1d922d70646f5cf86f (diff) | |
download | linux-14fad5d98d904339d48813362dc8a5c10e3c920e.tar.xz |
watchdog: nic7018_wdt: drop warning after calling watchdog_init_timeout
The core will print out details now.
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r-- | drivers/watchdog/nic7018_wdt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/watchdog/nic7018_wdt.c b/drivers/watchdog/nic7018_wdt.c index dcd265685837..82843abe38f8 100644 --- a/drivers/watchdog/nic7018_wdt.c +++ b/drivers/watchdog/nic7018_wdt.c @@ -211,10 +211,7 @@ static int nic7018_probe(struct platform_device *pdev) watchdog_set_drvdata(wdd, wdt); watchdog_set_nowayout(wdd, nowayout); - - ret = watchdog_init_timeout(wdd, timeout, dev); - if (ret) - dev_warn(dev, "unable to set timeout value, using default\n"); + watchdog_init_timeout(wdd, timeout, dev); /* Unlock WDT register */ outb(UNLOCK, wdt->io_base + WDT_REG_LOCK); |