staging: rtl8723au: Remove HW_VAR_TXPAUSE
This wasn't used at all Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a2342292e5
commit
aafb8684a8
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue