diff options
author | Sunil Shahu <shshahu@gmail.com> | 2015-06-26 17:12:24 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-15 05:54:37 +0300 |
commit | a732152c76ee194274299905c700125bef1fc0c8 (patch) | |
tree | 107edf6254f5cf8c1a488f0c7d40bccd1435b8d4 /drivers/staging/rtl8712 | |
parent | 8027b3332142268a1cf988fd62946a4afe49b986 (diff) | |
download | linux-a732152c76ee194274299905c700125bef1fc0c8.tar.xz |
staging: rtl8712: rtl871x_security.c: remove unnecessary variable initialization
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>
Diffstat (limited to 'drivers/staging/rtl8712')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_security.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_security.c b/drivers/staging/rtl8712/rtl871x_security.c index 21465c9c898f..862792826dc5 100644 --- a/drivers/staging/rtl8712/rtl871x_security.c +++ b/drivers/staging/rtl8712/rtl871x_security.c @@ -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; |