Browse Source

Staging:rtl8723bs static variables are always 0

C standard guarantees that:
global and static variables will be implicitly initialized to 0 or NULL
if no explicit initializer is given.

Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Paul McQuade 7 years ago
parent
commit
fcd353bc8b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/staging/rtl8723bs/os_dep/rtw_proc.c

+ 1 - 1
drivers/staging/rtl8723bs/os_dep/rtw_proc.c

@@ -19,7 +19,7 @@
 
 #ifdef PROC_DEBUG
 
-static struct proc_dir_entry *rtw_proc = NULL;
+static struct proc_dir_entry *rtw_proc;
 
 #define RTW_PROC_NAME "rtl8723bs"