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>
This commit is contained in:
Daniel Watson 2022-06-11 20:07:34 -07:00 committed by Greg Kroah-Hartman
parent ac663ae22f
commit de9257ae1d

View file

@ -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);