mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 18:21:24 +02:00
staging: rtl8723bs: remove wrapper rtw_hal_disable_interrupt()
Remove unnecessary wrapper and call DisableInterrupt8723BSdio() function directly to simplify the code. Signed-off-by: Nikolay Kulikov <nikolayof23@gmail.com> Reviewed-by: Luka Gejak <luka.gejak@linux.dev> Link: https://patch.msgid.link/20260430172954.12828-2-nikolayof23@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1dd3d7febb
commit
e5855f8a47
|
|
@ -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_disable_interrupt(struct adapter *padapter)
|
||||
{
|
||||
DisableInterrupt8723BSdio(padapter);
|
||||
}
|
||||
|
||||
u8 rtw_hal_check_ips_status(struct adapter *padapter)
|
||||
{
|
||||
return CheckIPSStatus(padapter);
|
||||
|
|
|
|||
|
|
@ -193,8 +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_disable_interrupt(struct adapter *padapter);
|
||||
|
||||
u8 rtw_hal_check_ips_status(struct adapter *padapter);
|
||||
|
||||
s32 rtw_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
|
||||
|
|
|
|||
|
|
@ -1141,7 +1141,7 @@ static int rtw_resume_process_normal(struct adapter *padapter)
|
|||
if (ret)
|
||||
goto exit;
|
||||
}
|
||||
rtw_hal_disable_interrupt(padapter);
|
||||
DisableInterrupt8723BSdio(padapter);
|
||||
/* if (sdio_alloc_irq(adapter_to_dvobj(padapter)) != _SUCCESS) */
|
||||
if ((padapter->intf_alloc_irq) && (padapter->intf_alloc_irq(adapter_to_dvobj(padapter)) != _SUCCESS)) {
|
||||
ret = -1;
|
||||
|
|
|
|||
|
|
@ -211,8 +211,7 @@ static void sd_intf_stop(struct adapter *padapter)
|
|||
if (!padapter)
|
||||
return;
|
||||
|
||||
/* hal dep */
|
||||
rtw_hal_disable_interrupt(padapter);
|
||||
DisableInterrupt8723BSdio(padapter);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -281,7 +280,7 @@ static struct adapter *rtw_sdio_if1_init(struct dvobj_priv *dvobj, const struct
|
|||
/* set mac addr */
|
||||
rtw_macaddr_cfg(&psdio->func->dev, padapter->eeprompriv.mac_addr);
|
||||
|
||||
rtw_hal_disable_interrupt(padapter);
|
||||
DisableInterrupt8723BSdio(padapter);
|
||||
|
||||
status = _SUCCESS;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user