mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue