Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

watchdog: octeon-wdt: don't print out if registering watchdog fails

The core will do this already.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20241004200314.5459-7-wsa+renesas@sang-engineering.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

Wolfram Sang and committed by
Wim Van Sebroeck
8904da69 ebc75304

+1 -3
+1 -3
drivers/watchdog/octeon-wdt-main.c
··· 559 559 watchdog_set_nowayout(&octeon_wdt, nowayout); 560 560 561 561 ret = watchdog_register_device(&octeon_wdt); 562 - if (ret) { 563 - pr_err("watchdog_register_device() failed: %d\n", ret); 562 + if (ret) 564 563 return ret; 565 - } 566 564 567 565 if (disable) { 568 566 pr_notice("disabled\n");