mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 10:20:17 -04:00
staging: rtl8723au: Nuke HW_VAR_CHECK_TXBUF, which was also a no-op
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
dc451608f3
commit
6952905d21
@@ -9492,9 +9492,6 @@ u8 sitesurvey_cmd_hdl23a(struct rtw_adapter *padapter, u8 *pbuf)
|
||||
u32 i;
|
||||
|
||||
if (pmlmeext->sitesurvey_res.state == SCAN_DISABLE) {
|
||||
/* for first time sitesurvey_cmd */
|
||||
rtw_hal_set_hwreg23a(padapter, HW_VAR_CHECK_TXBUF, NULL);
|
||||
|
||||
pmlmeext->sitesurvey_res.state = SCAN_START;
|
||||
pmlmeext->sitesurvey_res.bss_cnt = 0;
|
||||
pmlmeext->sitesurvey_res.channel_idx = 0;
|
||||
|
||||
@@ -3177,8 +3177,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
|
||||
case HW_VAR_EFUSE_BT_BYTES:
|
||||
pHalData->BTEfuseUsedBytes = *((u16 *) val);
|
||||
break;
|
||||
case HW_VAR_CHECK_TXBUF:
|
||||
break;
|
||||
case HW_VAR_APFM_ON_MAC:
|
||||
rtl8723a_set_apfm_on_mac(padapter, *val);
|
||||
break;
|
||||
|
||||
@@ -63,7 +63,6 @@ enum HW_VARIABLES {
|
||||
HW_VAR_SWITCH_EPHY_WoWLAN,
|
||||
HW_VAR_EFUSE_BYTES,
|
||||
HW_VAR_EFUSE_BT_BYTES,
|
||||
HW_VAR_CHECK_TXBUF,
|
||||
HW_VAR_APFM_ON_MAC, /* Auto FSM to Turn On, include clock, isolation, power control for MAC only */
|
||||
/* The valid upper nav range for the HW updating, if the true value is larger than the upper range, the HW won't update it. */
|
||||
/* Unit in microsecond. 0 means disable this function. */
|
||||
|
||||
Reference in New Issue
Block a user