mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
staging: rtl8723bs: remove wrapper rtw_hal_enable_interrupt()
Remove unnecessary wrapper and call EnableInterrupt8723BSdio() function directly to simplify code. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Link: https://patch.msgid.link/20260419072034.19824-8-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
f12a93326e
commit
330ece18af
|
|
@ -94,11 +94,6 @@ void rtw_hal_set_odm_var(struct adapter *padapter, enum hal_odm_variable eVariab
|
|||
SetHalODMVar(padapter, eVariable, pValue1, bSet);
|
||||
}
|
||||
|
||||
void rtw_hal_enable_interrupt(struct adapter *padapter)
|
||||
{
|
||||
EnableInterrupt8723BSdio(padapter);
|
||||
}
|
||||
|
||||
void rtw_hal_disable_interrupt(struct adapter *padapter)
|
||||
{
|
||||
DisableInterrupt8723BSdio(padapter);
|
||||
|
|
|
|||
|
|
@ -193,7 +193,6 @@ 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);
|
||||
|
||||
void rtw_hal_enable_interrupt(struct adapter *padapter);
|
||||
void rtw_hal_disable_interrupt(struct adapter *padapter);
|
||||
|
||||
u8 rtw_hal_check_ips_status(struct adapter *padapter);
|
||||
|
|
|
|||
|
|
@ -204,8 +204,7 @@ static void sd_intf_start(struct adapter *padapter)
|
|||
if (!padapter)
|
||||
return;
|
||||
|
||||
/* hal dep */
|
||||
rtw_hal_enable_interrupt(padapter);
|
||||
EnableInterrupt8723BSdio(padapter);
|
||||
}
|
||||
|
||||
static void sd_intf_stop(struct adapter *padapter)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user