diff options
author | Daniel Watson <ozzloy@challenge-bot.com> | 2022-06-11 20:07:34 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-12 07:14:33 +0200 |
commit | de9257ae1d3b0d8856955045d194e3ff4f278394 (patch) | |
tree | 9977f036e989247bcb7961873f8cb0e4f5468b07 /drivers/staging/rtl8723bs | |
parent | ac663ae22f0277cfb52563594931160bbbb6ad60 (diff) |
staging: rtl8723bs: uninitialize static variable
ensure static variable is not initialized, per checkpatch
Signed-off-by: Daniel Watson <ozzloy@challenge-bot.com>
Link: https://lore.kernel.org/r/20220612030734.31469-1-ozzloy@challenge-bot.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs')
-rw-r--r-- | drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c b/drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c index 7240220cf6ae..eed4be37d392 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); |