mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 00:22:00 +02:00
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:
parent
ac663ae22f
commit
de9257ae1d
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user