staging: rtl8723au: Remove HW_VAR_TXPAUSE
authorJes Sorensen <Jes.Sorensen@redhat.com>
Wed, 9 Apr 2014 21:20:47 +0000 (23:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Apr 2014 15:29:10 +0000 (08:29 -0700)
This wasn't used at all

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/hal/hal_com.c
drivers/staging/rtl8723au/hal/rtl8723a_hal_init.c
drivers/staging/rtl8723au/include/hal_com.h
drivers/staging/rtl8723au/include/hal_intf.h

index 7e657af460b1ea3a4de54df4318fa5814f6eba0c..38fef52c60207322a48f0ceb84f38c9075500c52 100644 (file)
@@ -772,11 +772,6 @@ bool rtl8723a_get_bcn_valid(struct rtw_adapter *padapter)
        return retval;
 }
 
-void rtl8723a_set_tx_pause(struct rtw_adapter *padapter, u8 pause)
-{
-       rtw_write8(padapter, REG_TXPAUSE, pause);
-}
-
 void rtl8723a_set_beacon_interval(struct rtw_adapter *padapter, u16 interval)
 {
        rtw_write16(padapter, REG_BCN_INTERVAL, interval);
index 6c1af491921410fc1617ddee03e06cc4ebc4cbec..29ec6ab61c7c484d532671c9779bb3275cc62caf 100644 (file)
@@ -3135,10 +3135,6 @@ void hw_var_set_mlme_join(struct rtw_adapter *padapter, u8 type)
 void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
 {
        switch (variable) {
-       case HW_VAR_TXPAUSE:
-               rtl8723a_set_tx_pause(padapter, *val);
-               break;
-
        default:
                break;
        }
@@ -3150,10 +3146,6 @@ void GetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
        struct hal_data_8723a *pHalData = GET_HAL_DATA(padapter);
 
        switch (variable) {
-       case HW_VAR_TXPAUSE:
-               *val = rtw_read8(padapter, REG_TXPAUSE);
-               break;
-
        case HW_VAR_RF_TYPE:
                *val = pHalData->rf_type;
                break;
index e8774fc602c0a7b1eb19839a67a8567b952b5882..832cbac4ac9ed8f410c5a4bb6a594fac7cc23dde 100644 (file)
@@ -189,7 +189,6 @@ void rtl8723a_fifo_cleanup(struct rtw_adapter *padapter);
 void rtl8723a_set_apfm_on_mac(struct rtw_adapter *padapter, u8 val);
 void rtl8723a_bcn_valid(struct rtw_adapter *padapter);
 bool rtl8723a_get_bcn_valid(struct rtw_adapter *padapter);
-void rtl8723a_set_tx_pause(struct rtw_adapter *padapter, u8 pause);
 void rtl8723a_set_beacon_interval(struct rtw_adapter *padapter, u16 interval);
 void rtl8723a_set_resp_sifs(struct rtw_adapter *padapter,
                            u8 r2t1, u8 r2t2, u8 t2t1, u8 t2t2);
index b6362deff01a859de7a17e62d9d3df1a045cd4b2..d86a8f12b822ad321781c197d33ca23d99b8c63f 100644 (file)
@@ -37,7 +37,6 @@ enum _CHIP_TYPE {
 
 enum HW_VARIABLES {
        HW_VAR_INIT_RTS_RATE,
-       HW_VAR_TXPAUSE,
        HW_VAR_RF_TYPE,
        HW_VAR_CAM_READ,
        HW_VAR_FWLPS_RF_ON,