Skip to content

Commit

Permalink
Staging:rtl8723bs static variables are always 0
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul McQuade authored and Greg Kroah-Hartman committed Mar 22, 2018
1 parent aaea216 commit fcd353b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/rtl8723bs/os_dep/rtw_proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit fcd353b

Please sign in to comment.