]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
staging: rtl8723bs: remove commented out code in rtw_mlme_ext.c
authorAndrei Khomenkov <khomenkov@mailbox.org>
Sun, 10 May 2026 13:43:14 +0000 (16:43 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 11 May 2026 08:13:24 +0000 (10:13 +0200)
Remove commented out code in the site_survey function as it is not used.

Signed-off-by: Andrei Khomenkov <khomenkov@mailbox.org>
Link: https://patch.msgid.link/20260510134315.64295-9-khomenkov@mailbox.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723bs/core/rtw_mlme_ext.c

index c966527c0ca577b89ce0c0b329eb758492b3378e..7ac23ccb39f707d9a0e2a5f0499de2ef89adb747 100644 (file)
@@ -3741,10 +3741,6 @@ void site_survey(struct adapter *padapter)
        }
 
        if (survey_channel != 0) {
-               /* PAUSE 4-AC Queue when site_survey */
-               /* rtw_hal_get_hwreg(padapter, HW_VAR_TXPAUSE, (u8 *)(&val8)); */
-               /* val8 |= 0x0f; */
-               /* rtw_hal_set_hwreg(padapter, HW_VAR_TXPAUSE, (u8 *)(&val8)); */
                if (pmlmeext->sitesurvey_res.channel_idx == 0) {
                                set_channel_bwmode(padapter, survey_channel, HAL_PRIME_CHNL_OFFSET_DONT_CARE, CHANNEL_WIDTH_20);
                } else {