staging: rtl8723au: Nuke HW_VAR_CHECK_TXBUF, which was also a no-op
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:20:35 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:05 +0000 (08:29 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/core/rtw_mlme_ext.c
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
drivers/staging/rtl8723au/include/hal_intf.h

index 96d744152903423cc3c61ff385272cb9715fc032..ab42739366eae433b600a3f7efb7659ad1321f47 100644 (file)
@@ -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;
index d496330a23c6ffc29957acce01fdc9b9ee5be4f1..e6e501217e6db09f67500b3902d17dbbd4b0aa25 100644 (file)
@@ -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;
index 75e751cedcd77424b13e211252cf9a98d2e3deff..fcb441154b312b204728a66a4828f18d63d076e9 100644 (file)
@@ -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. */