mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-07 05:53: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
|
@ -260,7 +260,6 @@ void rtw_mfree2d(void *pbuf, int h, int w, int size);
|
|||
|
||||
int _rtw_memcmp(void *dst, void *src, u32 sz);
|
||||
|
||||
void _rtw_init_listhead(struct list_head *list);
|
||||
u32 rtw_is_list_empty(struct list_head *phead);
|
||||
void rtw_list_insert_head(struct list_head *plist, struct list_head *phead);
|
||||
void rtw_list_insert_tail(struct list_head *plist, struct list_head *phead);
|
||||
|
|
|
@ -77,7 +77,7 @@ struct evt_priv {
|
|||
|
||||
#define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \
|
||||
do {\
|
||||
_rtw_init_listhead(&pcmd->list);\
|
||||
INIT_LIST_HEAD(&pcmd->list);\
|
||||
pcmd->cmdcode = code;\
|
||||
pcmd->parmbuf = (u8 *)(pparm);\
|
||||
pcmd->cmdsz = sizeof(*pparm);\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue