mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-10 15:23:06 +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
|
@ -4875,7 +4875,7 @@ static int set_group_key(struct adapter *padapter, u8 *key, u8 alg, int keyid)
|
|||
pcmd->rsp = NULL;
|
||||
pcmd->rspsz = 0;
|
||||
|
||||
_rtw_init_listhead(&pcmd->list);
|
||||
INIT_LIST_HEAD(&pcmd->list);
|
||||
|
||||
res = rtw_enqueue_cmd(pcmdpriv, pcmd);
|
||||
|
||||
|
|
|
@ -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