All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guillaume Thouvenin <guillaume.thouvenin@bull.net>
To: linux-kernel@vger.kernel.org
Subject: [patch] watchdog: fix warning "defined but not used"
Date: Fri, 30 Jul 2004 11:33:00 +0200	[thread overview]
Message-ID: <410A15CC.4070607@bull.net> (raw)

[-- 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);


                 reply	other threads:[~2004-07-30  9:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410A15CC.4070607@bull.net \
    --to=guillaume.thouvenin@bull.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.