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

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

 



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

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 [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