OSDN Git Service

staging: rtl8723au: remove intialization of static ints
authorSupriya Karanth <iskaranth@gmail.com>
Thu, 12 Mar 2015 04:26:20 +0000 (13:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 15:17:31 +0000 (16:17 +0100)
commite719bba8559708e240164c69b39ed3ea86a7fa46
treeb2e21559ceb7d77eb6239fb66b8a433d396bbfcc
parent5900adaee8cacb6a188ca9cd888a791585f71c4d
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: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_security.c
drivers/staging/rtl8723au/os_dep/os_intfs.c