From: Daniel Watson <ozzloy@xxxxxxxxxxxxxxxxx> ensure static variable is not initialized, per checkpatch Signed-off-by: Daniel Watson <ozzloy@xxxxxxxxxxxxxxxxx> --- drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 7240220cf6ae7..eed4be37d3928 100644 --- a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c +++ b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c @@ -1256,7 +1256,7 @@ static int cfg80211_rtw_scan(struct wiphy *wiphy } if (pmlmepriv->LinkDetectInfo.bBusyTraffic == true) { - static unsigned long lastscantime = 0; + static unsigned long lastscantime; unsigned long passtime; passtime = jiffies_to_msecs(jiffies - lastscantime); -- 2.34.1