mirror of
https://github.com/torvalds/linux.git
synced 2026-10-12 13:27:02 +02:00
staging: rtl8723bs: remove wrapper rtl8723b_SetHalODMVar
Remove the wrapper function rtl8723b_SetHalODMVar and use SetHalODMVar directly to reduce code complexity. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20250715182814.212708-3-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a468ce2e33
commit
9a318cec56
|
|
@ -129,7 +129,7 @@ u8 rtw_hal_get_def_var(struct adapter *padapter, enum hal_def_variable eVariable
|
|||
|
||||
void rtw_hal_set_odm_var(struct adapter *padapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
|
||||
{
|
||||
rtl8723b_SetHalODMVar(padapter, eVariable, pValue1, bSet);
|
||||
SetHalODMVar(padapter, eVariable, pValue1, bSet);
|
||||
}
|
||||
|
||||
void rtw_hal_enable_interrupt(struct adapter *padapter)
|
||||
|
|
|
|||
|
|
@ -1267,11 +1267,6 @@ void rtl8723b_SetBeaconRelatedRegisters(struct adapter *padapter)
|
|||
rtw_write8(padapter, bcn_ctrl_reg, val8);
|
||||
}
|
||||
|
||||
void rtl8723b_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet)
|
||||
{
|
||||
SetHalODMVar(Adapter, eVariable, pValue1, bSet);
|
||||
}
|
||||
|
||||
static void hal_notch_filter_8723b(struct adapter *adapter, bool enable)
|
||||
{
|
||||
if (enable)
|
||||
|
|
|
|||
|
|
@ -276,7 +276,6 @@ u8 GetHalDefVar8723BSDIO(struct adapter *Adapter, enum hal_def_variable eVariabl
|
|||
u8 SetHalDefVar8723BSDIO(struct adapter *Adapter, enum hal_def_variable eVariable, void *pValue);
|
||||
void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_level);
|
||||
void rtl8723b_SetBeaconRelatedRegisters(struct adapter *padapter);
|
||||
void rtl8723b_SetHalODMVar(struct adapter *Adapter, enum hal_odm_variable eVariable, void *pValue1, bool bSet);
|
||||
void Hal_EfusePowerSwitch(struct adapter *padapter, u8 bWrite, u8 PwrState);
|
||||
void Hal_ReadEFuse(struct adapter *padapter, u8 efuseType, u16 _offset,
|
||||
u16 _size_byte, u8 *pbuf, bool bPseudoTest);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user