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
|
@ -86,7 +86,7 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
|
|||
precvframe = (union recv_frame *)precvpriv->precv_frame_buf;
|
||||
|
||||
for (i = 0; i < NR_RECVFRAME; i++) {
|
||||
_rtw_init_listhead(&(precvframe->u.list));
|
||||
INIT_LIST_HEAD(&(precvframe->u.list));
|
||||
|
||||
rtw_list_insert_tail(&(precvframe->u.list), &(precvpriv->free_recv_queue.queue));
|
||||
|
||||
|
@ -184,7 +184,7 @@ union recv_frame *rtw_alloc_recvframe (struct __queue *pfree_recv_queue)
|
|||
void rtw_init_recvframe(union recv_frame *precvframe, struct recv_priv *precvpriv)
|
||||
{
|
||||
/* Perry: This can be removed */
|
||||
_rtw_init_listhead(&precvframe->u.hdr.list);
|
||||
INIT_LIST_HEAD(&precvframe->u.hdr.list);
|
||||
|
||||
precvframe->u.hdr.len = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue