staging: rtl8712: rtl871x_security.c: remove unnecessary variable initialization
authorSunil Shahu <shshahu@gmail.com>
Fri, 26 Jun 2015 14:12:24 +0000 (19:42 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jul 2015 02:54:37 +0000 (19:54 -0700)
Variable "u32 c" always re-initialize in for loop.
Initialized value of "u32 c" is not used in function
and is redundant, hence removed.

Suggested-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sunil Shahu <shshahu@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_security.c

index 21465c9c898f10ae6d08030870142b6ec7adc357..862792826dc5f73839eb28a6f8dd35742cd1a6b8 100644 (file)
@@ -125,7 +125,7 @@ static u8 crc32_reverseBit(u8 data)
 static void crc32_init(void)
 {
        sint i, j;
-       u32 c = 0x12340000;
+       u32 c;
        u8 *p = (u8 *)&c, *p1;
        u8 k;