watchdog: xen_wdt: drop warning after calling watchdog_init_timeout
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Fri, 19 Apr 2019 18:16:00 +0000 (20:16 +0200)
committerWim Van Sebroeck <wim@linux-watchdog.org>
Sun, 5 May 2019 19:10:32 +0000 (21:10 +0200)
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>
drivers/watchdog/xen_wdt.c

index 6c1ca1f..25a1af5 100644 (file)
@@ -136,9 +136,7 @@ static int xen_wdt_probe(struct platform_device *pdev)
                return -ENODEV;
        }
 
-       if (watchdog_init_timeout(&xen_wdt_dev, timeout, NULL))
-               dev_info(dev, "timeout value invalid, using %d\n",
-                        xen_wdt_dev.timeout);
+       watchdog_init_timeout(&xen_wdt_dev, timeout, NULL);
        watchdog_set_nowayout(&xen_wdt_dev, nowayout);
        watchdog_stop_on_reboot(&xen_wdt_dev);
        watchdog_stop_on_unregister(&xen_wdt_dev);