Commit e719bba8 authored by Supriya Karanth's avatar Supriya Karanth Committed by Greg Kroah-Hartman

staging: rtl8723au: remove intialization of static ints

static ints are initialized to 0 by the compiler.
Explicit initialization is not necessary.

Found by checkpatch.pl - ERROR: do not initialise statics to 0 or NULL

changes made using coccinelle script:
@@
type T;
identifier var;
@@
static T var
- =0
;
Signed-off-by: default avatarSupriya Karanth <iskaranth@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5900adae
...@@ -87,7 +87,7 @@ static void arcfour_encrypt( struct arc4context *parc4ctx, ...@@ -87,7 +87,7 @@ static void arcfour_encrypt( struct arc4context *parc4ctx,
} }
static int bcrc32initialized = 0; static int bcrc32initialized;
static u32 crc32_table[256]; static u32 crc32_table[256];
static u8 crc32_reverseBit(u8 data) static u8 crc32_reverseBit(u8 data)
......
...@@ -34,7 +34,7 @@ MODULE_FIRMWARE("rtlwifi/rtl8723aufw_B.bin"); ...@@ -34,7 +34,7 @@ MODULE_FIRMWARE("rtlwifi/rtl8723aufw_B.bin");
MODULE_FIRMWARE("rtlwifi/rtl8723aufw_B_NoBT.bin"); MODULE_FIRMWARE("rtlwifi/rtl8723aufw_B_NoBT.bin");
/* module param defaults */ /* module param defaults */
static int rtw_chip_version = 0x00; static int rtw_chip_version;
static int rtw_rfintfs = HWPI; static int rtw_rfintfs = HWPI;
static int rtw_debug = 1; static int rtw_debug = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment