[PATCH] remove unused variable in b1pcmcia.c::b1pcmcia_init()

From: Jesper Juhl
Date: Thu Dec 23 2004 - 19:57:18 EST



Hi,

Tiny patch below to remove an unused variable in b1pcmcia.c::b1pcmcia_init()

drivers/isdn/hardware/avm/b1pcmcia.c:203: warning: unused variable `err'


Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

diff -up linux-2.6.10-rc3-bk16-orig/drivers/isdn/hardware/avm/b1pcmcia.c linux-2.6.10-rc3-bk16/drivers/isdn/hardware/avm/b1pcmcia.c
--- linux-2.6.10-rc3-bk16-orig/drivers/isdn/hardware/avm/b1pcmcia.c 2004-10-18 23:53:05.000000000 +0200
+++ linux-2.6.10-rc3-bk16/drivers/isdn/hardware/avm/b1pcmcia.c 2004-12-24 02:03:23.000000000 +0100
@@ -200,7 +200,6 @@ static int __init b1pcmcia_init(void)
{
char *p;
char rev[32];
- int err;

if ((p = strchr(revision, ':')) != 0 && p[1]) {
strlcpy(rev, p + 2, 32);


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/