[-mm patch] drivers/net/pcmcia/xirc2ps_cs.c: remove unused label
Adrian Bunk
bunk at stusta.de
Sat Aug 26 11:28:47 EDT 2006
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 at 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 */
More information about the linux-pcmcia
mailing list