mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove wrapper _rtw_spinlock_init
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
1d89650644
commit
9fe0c17a65
9 changed files with 13 additions and 19 deletions
|
@ -937,7 +937,7 @@ _func_enter_;
|
|||
|
||||
rtw_hal_sreset_init(padapter);
|
||||
|
||||
_rtw_spinlock_init(&padapter->br_ext_lock);
|
||||
spin_lock_init(&padapter->br_ext_lock);
|
||||
|
||||
exit:
|
||||
RT_TRACE(_module_os_intfs_c_, _drv_info_, ("-rtw_init_drv_sw\n"));
|
||||
|
|
|
@ -193,11 +193,6 @@ void _rtw_mutex_free(struct mutex *pmutex)
|
|||
mutex_destroy(pmutex);
|
||||
}
|
||||
|
||||
void _rtw_spinlock_init(spinlock_t *plock)
|
||||
{
|
||||
spin_lock_init(plock);
|
||||
}
|
||||
|
||||
void _rtw_spinlock_free(spinlock_t *plock)
|
||||
{
|
||||
}
|
||||
|
@ -205,7 +200,7 @@ void _rtw_spinlock_free(spinlock_t *plock)
|
|||
void _rtw_init_queue(struct __queue *pqueue)
|
||||
{
|
||||
_rtw_init_listhead(&(pqueue->queue));
|
||||
_rtw_spinlock_init(&(pqueue->lock));
|
||||
spin_lock_init(&(pqueue->lock));
|
||||
}
|
||||
|
||||
u32 _rtw_queue_empty(struct __queue *pqueue)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue