staging: rtl8723au: Remove HW_VAR_MEDIA_STATUS* usage

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jes Sorensen 2014-04-09 23:20:16 +02:00 committed by Greg Kroah-Hartman
parent ff5d82e457
commit 03aa3ec054
3 changed files with 1 additions and 16 deletions

View file

@ -304,14 +304,9 @@ void Switch_DM_Func23a(struct rtw_adapter *padapter, unsigned long mode, u8 enab
rtw_hal_set_hwreg23a(padapter, HW_VAR_DM_FUNC_CLR, (u8 *)(&mode));
}
static void Set_NETYPE0_MSR(struct rtw_adapter *padapter, u8 type)
{
rtw_hal_set_hwreg23a(padapter, HW_VAR_MEDIA_STATUS, (u8 *)(&type));
}
void Set_MSR23a(struct rtw_adapter *padapter, u8 type)
{
Set_NETYPE0_MSR(padapter, type);
rtl8723a_set_media_status(padapter, type);
}
inline u8 rtw_get_oper_ch23a(struct rtw_adapter *adapter)

View file

@ -3135,14 +3135,6 @@ void SetHwReg8723A(struct rtw_adapter *padapter, u8 variable, u8 *val)
u32 *val32 = (u32 *)val;
switch (variable) {
case HW_VAR_MEDIA_STATUS:
rtl8723a_set_media_status(padapter, *val);
break;
case HW_VAR_MEDIA_STATUS1:
rtl8723a_set_media_status1(padapter, *val);
break;
case HW_VAR_SET_OPMODE:
hw_var_set_opmode(padapter, *val);
break;

View file

@ -36,8 +36,6 @@ enum _CHIP_TYPE {
};
enum HW_VARIABLES {
HW_VAR_MEDIA_STATUS,
HW_VAR_MEDIA_STATUS1,
HW_VAR_SET_OPMODE,
HW_VAR_MAC_ADDR,
HW_VAR_BSSID,