Messages in this thread Patch in this message | | | Date | Fri, 22 Oct 2004 15:59:24 +0200 | From | Adrian Bunk <> | Subject | [patch] 2.6.9-mm1: ISDN hisax_fcpcipnp.c: kill unused variable |
| |
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@stusta.de>
--- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |