* [patch] watchdog: fix warning "defined but not used"
@ 2004-07-30 9:33 Guillaume Thouvenin
0 siblings, 0 replies; only message in thread
From: Guillaume Thouvenin @ 2004-07-30 9:33 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
Hello,
Function wdtpci_init_one() in file wdt_pci.c generates a warning when
compiling the watchdog driver. Here is a trivial patch for 2.6.8-rc2 to
remove this warning.
HTH
Guillaume
[-- Attachment #2: patch-wdt_pci --]
[-- Type: text/plain, Size: 371 bytes --]
--- wdt_pci.c.orig 2004-07-30 09:00:13.435106288 +0200
+++ wdt_pci.c 2004-07-30 09:00:31.465365272 +0200
@@ -682,8 +682,8 @@ out:
out_misc:
#ifdef CONFIG_WDT_501_PCI
misc_deregister(&temp_miscdev);
-#endif /* CONFIG_WDT_501_PCI */
out_rbt:
+#endif /* CONFIG_WDT_501_PCI */
unregister_reboot_notifier(&wdtpci_notifier);
out_irq:
free_irq(irq, &wdtpci_miscdev);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-30 9:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-30 9:33 [patch] watchdog: fix warning "defined but not used" Guillaume Thouvenin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome