[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180320202622.13339-1-paulmcquad@gmail.com>
Date: Tue, 20 Mar 2018 20:26:18 +0000
From: Paul McQuade <paulmcquad@...il.com>
To: paulmcquad@...il.com
Cc: gregkh@...uxfoundation.org, davem@...emloft.net,
stephen@...workplumber.org, Linyu.Yuan@...atel-sbell.com.cn,
Larry.Finger@...inger.net, keescook@...omium.org,
hdegoede@...hat.com, johannes.berg@...el.com,
colin.king@...onical.com, arvind.yadav.cs@...il.com, arnd@...db.de,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [v2 PATCH 1/5] 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@...il.com>
---
drivers/staging/rtl8723bs/os_dep/rtw_proc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/rtw_proc.c b/drivers/staging/rtl8723bs/os_dep/rtw_proc.c
index 9a885e626d1c..37ee8d90709a 100644
--- a/drivers/staging/rtl8723bs/os_dep/rtw_proc.c
+++ b/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"
--
2.16.2
Powered by blists - more mailing lists