Skip to content

Commit 39781cc

Browse files
Arthur-St-06gregkh
authored andcommitted
staging: rtl8723bs: core: delete commented-out code
Delete dead commented-out code. No functional changes. Signed-off-by: Artur Stupa <arthur.stupa@gmail.com> Link: https://patch.msgid.link/20251121224143.33701-2-arthur.stupa@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 18ac97e commit 39781cc

2 files changed

Lines changed: 0 additions & 15 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_sta_mgt.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -383,12 +383,6 @@ u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta)
383383

384384
/* release mac id for non-bc/mc station, */
385385
rtw_release_macid(pstapriv->padapter, psta);
386-
387-
/*
388-
spin_lock_bh(&pstapriv->asoc_list_lock);
389-
list_del_init(&psta->asoc_list);
390-
spin_unlock_bh(&pstapriv->asoc_list_lock);
391-
*/
392386
spin_lock_bh(&pstapriv->auth_list_lock);
393387
if (!list_empty(&psta->auth_list)) {
394388
list_del_init(&psta->auth_list);

drivers/staging/rtl8723bs/core/rtw_wlan_util.c

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1689,15 +1689,6 @@ void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len)
16891689
else
16901690
pmlmeext->bcn_delay_cnt[delay_ms]++;
16911691
/* pmlmeext->bcn_delay_ratio[delay_ms] = (pmlmeext->bcn_delay_cnt[delay_ms] * 100) /pmlmeext->bcn_cnt; */
1692-
1693-
/*
1694-
1695-
for (i = 0; i<9; i++)
1696-
{
1697-
pmlmeext->bcn_delay_cnt[i] , i, pmlmeext->bcn_delay_ratio[i]);
1698-
}
1699-
*/
1700-
17011692
/* dump for adaptive_early_32k */
17021693
if (pmlmeext->bcn_cnt > 100 && (pmlmeext->adaptive_tsf_done == true)) {
17031694
u8 ratio_20_delay, ratio_80_delay;

0 commit comments

Comments
 (0)