Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Devendra Naga and committed by
Greg Kroah-Hartman
e1656648 55e7b4fb

+1 -1
+1 -1
drivers/staging/rtl8712/os_intfs.c
··· 96 96 /* if wifi_test = 1, driver will disable the turbo mode and pass it to 97 97 * firmware private. 98 98 */ 99 - static int wifi_test = 0; 99 + static int wifi_test; 100 100 101 101 module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); 102 102 module_param(wifi_test, int, 0644);