diff options
author | Devendra Naga <devendra.aaru@gmail.com> | 2012-09-23 12:57:21 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-26 12:23:31 -0400 |
commit | e1656648c920984005019cf39b00b43d2d47b49f (patch) | |
tree | 314bbc7be3004a6cb1fd4d4ce3687436bd034cda | |
parent | 55e7b4fbd47a510b6c8ca53eaf7d9dff816cd26c (diff) |
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>
-rw-r--r-- | drivers/staging/rtl8712/os_intfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/os_intfs.c b/drivers/staging/rtl8712/os_intfs.c index 448f00dd68fe..e00f7918d261 100644 --- a/drivers/staging/rtl8712/os_intfs.c +++ b/drivers/staging/rtl8712/os_intfs.c | |||
@@ -96,7 +96,7 @@ static char *initmac; | |||
96 | /* if wifi_test = 1, driver will disable the turbo mode and pass it to | 96 | /* if wifi_test = 1, driver will disable the turbo mode and pass it to |
97 | * firmware private. | 97 | * firmware private. |
98 | */ | 98 | */ |
99 | static int wifi_test = 0; | 99 | static int wifi_test; |
100 | 100 | ||
101 | module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); | 101 | module_param_string(ifname, ifname, sizeof(ifname), S_IRUGO|S_IWUSR); |
102 | module_param(wifi_test, int, 0644); | 102 | module_param(wifi_test, int, 0644); |