mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 22:41:11 +07:00
staging: rtl8723bs: hal: Remove comparison to NULL in rtl8723b_dm.c
Remove comparison to NULL in file rtl8723b_dm.c. Suggested by Coccinelle. Signed-off-by: Himadri Pandya <himadri18.07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
019acabec8
commit
3f181eb23e
@ -254,7 +254,7 @@ void rtl8723b_HalDmWatchDog_in_LPS(struct adapter *Adapter)
|
||||
|
||||
/* 1 Find MIN-RSSI */
|
||||
psta = rtw_get_stainfo(pstapriv, get_bssid(pmlmepriv));
|
||||
if (psta == NULL)
|
||||
if (!psta)
|
||||
goto skip_lps_dm;
|
||||
|
||||
pdmpriv->EntryMinUndecoratedSmoothedPWDB = psta->rssi_stat.UndecoratedSmoothedPWDB;
|
||||
|
Loading…
Reference in New Issue
Block a user