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

watchdog: Fix warning

This seems to have popped up after the recent merges:

drivers/watchdog/w83697ug_wdt.c: In function ‘w83697ug_select_wd_register’:
drivers/watchdog/w83697ug_wdt.c:105: warning: ‘return’ with a value, in function returning void

Signed-off-by: Alan Cox <alan@redhat.com>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Alan Cox and committed by
Linus Torvalds
7dc9b48f a8ddac7e

+1 -1
+1 -1
drivers/watchdog/w83697ug_wdt.c
··· 102 102 103 103 } else { 104 104 printk(KERN_ERR PFX "No W83697UG/UF could be found\n"); 105 - return -EIO; 105 + return; 106 106 } 107 107 108 108 outb_p(0x07, WDT_EFER); /* point to logical device number reg */