rtl8188eu: Replace LIST_CONTAINOR with container_of

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2014-12-13 10:40:44 -06:00
parent 7fd86158bf
commit 567257655f
13 changed files with 61 additions and 64 deletions

View file

@ -162,7 +162,7 @@ struct cmd_obj *_rtw_dequeue_cmd(struct __queue *queue)
if (rtw_is_list_empty(&(queue->queue))) {
obj = NULL;
} else {
obj = LIST_CONTAINOR(get_next(&(queue->queue)), struct cmd_obj, list);
obj = container_of(get_next(&(queue->queue)), struct cmd_obj, list);
rtw_list_delete(&obj->list);
}