[PATCH 2.6.19-rc4-mm2] i2lib unused variable cleanup

From: Mariusz Kozlowski
Date: Sat Nov 04 2006 - 16:04:36 EST


Hello,

This patch fixes this warning:

CC drivers/char/ip2/ip2main.o
In file included from drivers/char/ip2/ip2main.c:285:
drivers/char/ip2/i2lib.c: In function `i2Output':
drivers/char/ip2/i2lib.c:1019: warning: unused variable `rc'

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

diff -up linux-2.6.19-rc4-orig/drivers/char/ip2/i2lib.c
linux-2.6.19-rc4/drivers/char/ip2/i2lib.c
--- linux-2.6.19-rc4-orig/drivers/char/ip2/i2lib.c 2006-11-04
20:31:55.000000000 +0100
+++ linux-2.6.19-rc4/drivers/char/ip2/i2lib.c 2006-11-04 21:56:23.000000000
+0100
@@ -1016,7 +1016,6 @@ i2Output(i2ChanStrPtr pCh, const char *p
unsigned short channel;
unsigned short stuffIndex;
unsigned long flags;
- int rc = 0;

int bailout = 10;
-
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/