mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2025-12-08 07:14:03 +00:00
Remove all calls to _rtw_spinlock_free()
This routine is empty, thus all calls to it can be removed. Link: https://lore.kernel.org/r/20210805183717.23007-4-Larry.Finger@lwfinger.net
This commit is contained in:
committed by
Carlos Garcés
parent
34ec238387
commit
51e1f13a91
@@ -2497,7 +2497,6 @@ void rtw_mbid_cam_deinit(struct dvobj_priv *dvobj)
|
||||
{
|
||||
struct mbid_cam_ctl_t *mbid_cam_ctl = &dvobj->mbid_cam_ctl;
|
||||
|
||||
_rtw_spinlock_free(&mbid_cam_ctl->lock);
|
||||
}
|
||||
|
||||
void rtw_mbid_cam_reset(_adapter *adapter)
|
||||
@@ -14180,10 +14179,7 @@ void rtw_clt_port_init(struct clt_port_t *cltp)
|
||||
cltp->num = 0;
|
||||
_rtw_spinlock_init(&cltp->lock);
|
||||
}
|
||||
void rtw_clt_port_deinit(struct clt_port_t *cltp)
|
||||
{
|
||||
_rtw_spinlock_free(&cltp->lock);
|
||||
}
|
||||
|
||||
static void _hw_client_port_alloc(_adapter *adapter)
|
||||
{
|
||||
struct dvobj_priv *dvobj = adapter_to_dvobj(adapter);
|
||||
|
||||
@@ -195,7 +195,6 @@ void rtw_hal_dm_deinit(_adapter *padapter)
|
||||
|
||||
padapter->hal_func.dm_deinit(padapter);
|
||||
|
||||
_rtw_spinlock_free(&pHalData->IQKSpinLock);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -326,6 +326,5 @@ void rtl8192e_deinit_dm_priv(IN PADAPTER Adapter)
|
||||
{
|
||||
PHAL_DATA_TYPE pHalData = GET_HAL_DATA(Adapter);
|
||||
struct dm_struct *podmpriv = &pHalData->odmpriv;
|
||||
/* _rtw_spinlock_free(&pHalData->odm_stainfo_lock); */
|
||||
odm_cancel_all_timers(podmpriv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user