staging: rtl8723au: Get rid of unused rtw_hal_get_odm_var23()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1ec69343ee
commit
de9a5f01b2
@ -95,11 +95,6 @@ void rtw_hal_set_odm_var23a(struct rtw_adapter *padapter, enum hal_odm_variable
|
||||
if (padapter->HalFunc.SetHalODMVarHandler)
|
||||
padapter->HalFunc.SetHalODMVarHandler(padapter, eVariable, pValue1, bSet);
|
||||
}
|
||||
void rtw_hal_get_odm_var23a(struct rtw_adapter *padapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
|
||||
{
|
||||
if (padapter->HalFunc.GetHalODMVarHandler)
|
||||
padapter->HalFunc.GetHalODMVarHandler(padapter, eVariable, pValue1, bSet);
|
||||
}
|
||||
|
||||
void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter)
|
||||
{
|
||||
|
@ -1577,18 +1577,6 @@ void rtl8723a_SetBeaconRelatedRegisters(struct rtw_adapter *padapter)
|
||||
SetBcnCtrlReg23a(padapter, DIS_BCNQ_SUB, 0);
|
||||
}
|
||||
|
||||
static void rtl8723a_GetHalODMVar(struct rtw_adapter *Adapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet)
|
||||
{
|
||||
switch (eVariable) {
|
||||
case HAL_ODM_STA_INFO:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
static void rtl8723a_SetHalODMVar(struct rtw_adapter *Adapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet)
|
||||
@ -1716,7 +1704,6 @@ void rtl8723a_set_hal_ops(struct hal_ops *pHalFunc)
|
||||
pHalFunc->Efuse_WordEnableDataWrite23a = &Hal_EfuseWordEnableDataWrite;
|
||||
pHalFunc->Efuse_PgPacketWrite23a_BT = &Hal_EfusePgPacketWrite_BT;
|
||||
|
||||
pHalFunc->GetHalODMVarHandler = &rtl8723a_GetHalODMVar;
|
||||
pHalFunc->SetHalODMVarHandler = &rtl8723a_SetHalODMVar;
|
||||
}
|
||||
|
||||
|
@ -84,9 +84,6 @@ struct hal_ops {
|
||||
enum hal_def_variable eVariable,
|
||||
void *pValue);
|
||||
|
||||
void (*GetHalODMVarHandler)(struct rtw_adapter *padapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet);
|
||||
void (*SetHalODMVarHandler)(struct rtw_adapter *padapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet);
|
||||
@ -180,9 +177,6 @@ u8 rtw_hal_get_def_var23a(struct rtw_adapter *padapter,
|
||||
void rtw_hal_set_odm_var23a(struct rtw_adapter *padapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet);
|
||||
void rtw_hal_get_odm_var23a(struct rtw_adapter *padapter,
|
||||
enum hal_odm_variable eVariable,
|
||||
void *pValue1, bool bSet);
|
||||
|
||||
void rtw_hal_enable_interrupt23a(struct rtw_adapter *padapter);
|
||||
void rtw_hal_disable_interrupt23a(struct rtw_adapter *padapter);
|
||||
|
Loading…
Reference in New Issue
Block a user