[patch] 2.6.9-mm1: ISDN hisax_fcpcipnp.c: kill unused variable

From: Adrian Bunk
Date: Fri Oct 22 2004 - 09:03:58 EST


The following compile warning comes from Linus' tree:

<-- snip -->

...
CC drivers/isdn/hisax/hisax_fcpcipnp.o
...
drivers/isdn/hisax/hisax_fcpcipnp.c: In function `hisax_fcpcipnp_init':
drivers/isdn/hisax/hisax_fcpcipnp.c:999: warning: unused variable `pci_nr_found'
...

<-- snip -->


Since all uses of this variable were removed, I'd suggest the patch
below to remove the variable itself.


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

--- linux-2.6.9-mm1-full/drivers/isdn/hisax/hisax_fcpcipnp.c.old 2004-10-22 15:53:46.000000000 +0200
+++ linux-2.6.9-mm1-full/drivers/isdn/hisax/hisax_fcpcipnp.c 2004-10-22 15:55:02.000000000 +0200
@@ -996,7 +996,7 @@

static int __init hisax_fcpcipnp_init(void)
{
- int retval, pci_nr_found;
+ int retval;

printk(KERN_INFO "hisax_fcpcipnp: Fritz!Card PCI/PCIv2/PnP ISDN driver v0.0.1\n");


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/