]> git.hungrycats.org Git - linux/commitdiff
[PATCH] wdt.c warning fix
authorAndrew Morton <akpm@osdl.org>
Thu, 27 May 2004 00:35:53 +0000 (17:35 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 27 May 2004 00:35:53 +0000 (17:35 -0700)
drivers/char/watchdog/wdt.c: In function `wdt_init':
drivers/char/watchdog/wdt.c:638: warning: label `outrbt' defined but not used

Signed-off-by: Andrew Morton <akpm@osdl.org>
drivers/char/watchdog/wdt.c

index 9ab9ff2c023d0d3d4c48423d8d4088439263c026..c606ce4336f46864d6506f5cf86dbe54229fe650 100644 (file)
@@ -633,8 +633,8 @@ out:
 outmisc:
 #ifdef CONFIG_WDT_501
        misc_deregister(&temp_miscdev);
-#endif /* CONFIG_WDT_501 */
 outrbt:
+#endif /* CONFIG_WDT_501 */
        unregister_reboot_notifier(&wdt_notifier);
 outirq:
        free_irq(irq, NULL);