]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
staging: rtl8723bs: core: delete commented-out code
authorArtur Stupa <arthur.stupa@gmail.com>
Fri, 21 Nov 2025 22:41:35 +0000 (14:41 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Nov 2025 11:33:08 +0000 (12:33 +0100)
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>
drivers/staging/rtl8723bs/core/rtw_sta_mgt.c
drivers/staging/rtl8723bs/core/rtw_wlan_util.c

index d1f6030799cb687c1338f6f49adc582727ced467..3e80d03c4ec93b5716d622f678903f29d4f962de 100644 (file)
@@ -383,12 +383,6 @@ u32 rtw_free_stainfo(struct adapter *padapter, struct sta_info *psta)
 
        /* release mac id for non-bc/mc station, */
        rtw_release_macid(pstapriv->padapter, psta);
-
-/*
-       spin_lock_bh(&pstapriv->asoc_list_lock);
-       list_del_init(&psta->asoc_list);
-       spin_unlock_bh(&pstapriv->asoc_list_lock);
-*/
        spin_lock_bh(&pstapriv->auth_list_lock);
        if (!list_empty(&psta->auth_list)) {
                list_del_init(&psta->auth_list);
index c8909ffe02481a245b3ebd5d10bb02a591e21194..5ffefa50699edcb53b4c618181fd1a1922375a82 100644 (file)
@@ -1689,15 +1689,6 @@ void adaptive_early_32k(struct mlme_ext_priv *pmlmeext, u8 *pframe, uint len)
        else
                pmlmeext->bcn_delay_cnt[delay_ms]++;
                /* pmlmeext->bcn_delay_ratio[delay_ms] = (pmlmeext->bcn_delay_cnt[delay_ms] * 100) /pmlmeext->bcn_cnt; */
-
-/*
-
-       for (i = 0; i<9; i++)
-       {
-                       pmlmeext->bcn_delay_cnt[i] , i, pmlmeext->bcn_delay_ratio[i]);
-       }
-*/
-
        /* dump for  adaptive_early_32k */
        if (pmlmeext->bcn_cnt > 100 && (pmlmeext->adaptive_tsf_done == true)) {
                u8 ratio_20_delay, ratio_80_delay;