mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Karsten Keil <kkeil@suse.de>
To: LKML <linux-kernel@vger.kernel.org>,
	isdn4linux <isdn4linux@listserv.isdn4linux.de>
Subject: Re: [PATCH] remove unused label and obsolete preprocessor gunk from hisax
Date: Sun, 30 Jan 2005 23:34:48 +0100	[thread overview]
Message-ID: <20050130223448.GA7901@pingi3.kke.suse.de> (raw)
In-Reply-To: <Pine.LNX.4.62.0501302133220.2731@dragon.hygekrogen.localhost>

On Sun, Jan 30, 2005 at 09:43:05PM +0100, Jesper Juhl wrote:
> 
> 
> Here's a patch to remove an unused label and some obsolete preprocessor 
> magic around it. Thus killing this warning:
> drivers/isdn/hisax/hisax_fcpcipnp.c:1014: warning: label `out_unregister_isapnp' defined but not used
>  Please apply.
> 

Agree.


Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>

--- linux-2.6.11-rc2-bk7-orig/drivers/isdn/hisax/hisax_fcpcipnp.c	2005-01-22 21:59:37.000000000 +0100
+++ linux-2.6.11-rc2-bk7/drivers/isdn/hisax/hisax_fcpcipnp.c	2005-01-30 20:04:00.000000000 +0100
@@ -1010,12 +1010,6 @@ static int __init hisax_fcpcipnp_init(vo
 #endif
 	return 0;
 
-#if !defined(CONFIG_HOTPLUG) || defined(MODULE)
- out_unregister_isapnp:
-#ifdef __ISAPNP__
-	pnp_unregister_driver(&fcpnp_driver);
-#endif
-#endif
  out_unregister_pci:
 	pci_unregister_driver(&fcpci_driver);
  out:





 
-- 
Karsten Keil
SuSE Labs
ISDN development

      reply	other threads:[~2005-01-30 22:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-30 20:43 Jesper Juhl
2005-01-30 22:34 ` Karsten Keil [this message]

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=20050130223448.GA7901@pingi3.kke.suse.de \
    --to=kkeil@suse.de \
    --cc=isdn4linux@listserv.isdn4linux.de \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®