lkml.org 
[lkml]   [2004]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:07    [W:4.132 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site