[-mm patch] drivers/net/pcmcia/xirc2ps_cs.c: remove unused label

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <[email protected]>

--- 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux