staging: rtl8723bs: remove stale commented code

Drop unused commented code left from older versions

Signed-off-by: Khushal Chitturi <khushalchitturi@gmail.com>
Link: https://patch.msgid.link/20260212142131.28131-5-khushalchitturi@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Khushal Chitturi
2026-02-12 19:51:28 +05:30
committed by Greg Kroah-Hartman
parent ed8382fb4f
commit d357fe8446
6 changed files with 2 additions and 6 deletions

View File

@@ -1178,7 +1178,7 @@ u8 traffic_status_watchdog(struct adapter *padapter, u8 from_timer)
pmlmepriv->link_detect_info.traffic_transition_count++;
if (pmlmepriv->link_detect_info.traffic_transition_count > 30/*TrafficTransitionLevel*/)
if (pmlmepriv->link_detect_info.traffic_transition_count > 30)
pmlmepriv->link_detect_info.traffic_transition_count = 30;
}
} else {

View File

@@ -2504,7 +2504,6 @@ void rtw_issue_addbareq_cmd(struct adapter *padapter, struct xmit_frame *pxmitfr
struct pkt_attrib *pattrib = &pxmitframe->attrib;
s32 bmcst = is_multicast_ether_addr(pattrib->ra);
/* if (bmcst || (padapter->mlmepriv.link_detect_info.tx_busy_traffic == false)) */
if (bmcst || (padapter->mlmepriv.link_detect_info.num_tx_ok_in_period < 100))
return;

View File

@@ -4758,7 +4758,6 @@ static void rtw_mlmeext_disconnect(struct adapter *padapter)
timer_delete_sync(&pmlmeext->link_timer);
/* pmlmepriv->link_detect_info.TrafficBusyState = false; */
pmlmepriv->link_detect_info.traffic_transition_count = 0;
pmlmepriv->link_detect_info.low_power_transition_count = 0;

View File

@@ -206,7 +206,7 @@ void traffic_check_for_leave_lps(struct adapter *padapter, u8 tx, u32 tx_packets
}
} else { /* from rx path */
if (pmlmepriv->link_detect_info.num_rx_unicast_ok_in_period > 4/*2*/) {
if (pmlmepriv->link_detect_info.num_rx_unicast_ok_in_period > 4) {
if (adapter_to_pwrctl(padapter)->bLeisurePs
&& (adapter_to_pwrctl(padapter)->pwr_mode != PS_MODE_ACTIVE)
&& !(hal_btcoex_IsBtControlLps(padapter)))

View File

@@ -102,7 +102,6 @@ struct rt_link_detect_t {
bool higher_busy_traffic; /* For interrupt migration purpose. */
bool higher_busy_rx_traffic; /* We may disable Tx interrupt according as Rx traffic. */
bool higher_busy_tx_traffic; /* We may disable Tx interrupt according as Tx traffic. */
/* u8 TrafficBusyState; */
u8 traffic_transition_count;
u32 low_power_transition_count;
};

View File

@@ -620,7 +620,6 @@ void rtw_reset_drv_sw(struct adapter *padapter)
pmlmepriv->link_detect_info.busy_traffic = false;
/* pmlmepriv->link_detect_info.TrafficBusyState = false; */
pmlmepriv->link_detect_info.traffic_transition_count = 0;
pmlmepriv->link_detect_info.low_power_transition_count = 0;