mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 08:34:20 +00:00
rtl8188eu: Remove wrapper around INIT_LIST_HEAD()
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
609fff0d67
commit
9ad78a5b0d
14 changed files with 38 additions and 44 deletions
|
@ -123,11 +123,6 @@ int _rtw_memcmp(void *dst, void *src, u32 sz)
|
|||
return false;
|
||||
}
|
||||
|
||||
void _rtw_init_listhead(struct list_head *list)
|
||||
{
|
||||
INIT_LIST_HEAD(list);
|
||||
}
|
||||
|
||||
/*
|
||||
For the following list_xxx operations,
|
||||
caller must guarantee the atomic context.
|
||||
|
@ -188,7 +183,7 @@ void _rtw_spinlock_free(spinlock_t *plock)
|
|||
|
||||
void _rtw_init_queue(struct __queue *pqueue)
|
||||
{
|
||||
_rtw_init_listhead(&(pqueue->queue));
|
||||
INIT_LIST_HEAD(&(pqueue->queue));
|
||||
spin_lock_init(&(pqueue->lock));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue