Commit 14297505 authored by Guillaume Thouvenin's avatar Guillaume Thouvenin Committed by Linus Torvalds

[PATCH] watchdog: fix warning "defined but not used"

Function wdtpci_init_one() in file wdt_pci.c generates a warning when
compiling the watchdog driver.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent f9bbb9e8
......@@ -674,8 +674,8 @@ static int __devinit wdtpci_init_one (struct pci_dev *dev,
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);
......
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