staging: rtl8712: remove assignment of 0 to a static global variable

fixes the following checkpatch warning:

drivers/staging/rtl8712/os_intfs.c:99: ERROR: do not initialise statics
to 0 or NULL

as statics are always initialised to 0.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Devendra Naga 2012-09-23 12:57:21 -04:00 committed by Greg Kroah-Hartman
parent 55e7b4fbd4
commit e1656648c9
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ static char *initmac;
/* if wifi_test = 1, driver will disable the turbo mode and pass it to /* if wifi_test = 1, driver will disable the turbo mode and pass it to
* firmware private. * firmware private.
*/ */
static int wifi_test = 0; static int wifi_test;
module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR);
module_param(wifi_test, int, 0644); module_param(wifi_test, int, 0644);