lkml.org 
[lkml]   [2006]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[-mm patch] drivers/net/pcmcia/xirc2ps_cs.c: remove unused label
    On Sat, Aug 19, 2006 at 10:00:08PM -0700, Andrew Morton wrote:
    >...
    > Changes since 2.6.18-rc4-mm1:
    >...
    > git-pcmcia.patch
    >...
    > git trees
    >...

    This patch fixes the following warning due to a no longer used label:

    <-- snip -->

    ...
    CC drivers/net/pcmcia/xirc2ps_cs.o
    /home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm2/drivers/net/pcmcia/xirc2ps_cs.c: In function ‘xirc2ps_config’:
    /home/bunk/linux/kernel-2.6/linux-2.6.18-rc4-mm2/drivers/net/pcmcia/xirc2ps_cs.c:1044: warning: label ‘cis_error’ defined but not used
    ...

    <-- snip -->

    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.18-rc4-mm2/drivers/net/pcmcia/xirc2ps_cs.c.old 2006-08-26 17:18:36.000000000 +0200
    +++ linux-2.6.18-rc4-mm2/drivers/net/pcmcia/xirc2ps_cs.c 2006-08-26 17:18:40.000000000 +0200
    @@ -1041,8 +1041,6 @@ xirc2ps_config(struct pcmcia_device * li
    xirc2ps_release(link);
    return -ENODEV;

    - cis_error:
    - printk(KNOT_XIRC "unable to parse CIS\n");
    failure:
    return -ENODEV;
    } /* xirc2ps_config */
    -
    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: 2006-08-26 17:31    [from the cache]
    ©2003-2014 Jasper Spaans. hosted at Digital Ocean