mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +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
|
@ -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