Commit 7dc9b48f authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

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: default avatarAlan Cox <alan@redhat.com>
Acked-by: default avatarWim Van Sebroeck <wim@iguana.be>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent a8ddac7e
...@@ -102,7 +102,7 @@ static void w83697ug_select_wd_register(void) ...@@ -102,7 +102,7 @@ static void w83697ug_select_wd_register(void)
} else { } else {
printk(KERN_ERR PFX "No W83697UG/UF could be found\n"); printk(KERN_ERR PFX "No W83697UG/UF could be found\n");
return -EIO; return;
} }
outb_p(0x07, WDT_EFER); /* point to logical device number reg */ outb_p(0x07, WDT_EFER); /* point to logical device number reg */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment