diff options
author | James A Shackleford <shack@linux.com> | 2014-06-25 06:52:36 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-27 04:33:15 +0400 |
commit | fdfbf7890dcac98d698ce889720e90c1f26cf30f (patch) | |
tree | 92bb99da4541f78c770b9be52a6f2a76a1781b22 /drivers/staging/rtl8712/rtl871x_io.c | |
parent | 9672b1bd831b12869aaa1ae0ede0e45cd18c5272 (diff) | |
download | linux-fdfbf7890dcac98d698ce889720e90c1f26cf30f.tar.xz |
staging: rtl8712: remove wrapper function list_insert_tail
list_insert_tail is just an inline wrapper around list_add_tail. This
patch removes the wrapper and directly uses list_add_tail.
Signed-off-by: James A Shackleford <shack@linux.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/rtl871x_io.c')
-rw-r--r-- | drivers/staging/rtl8712/rtl871x_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/rtl871x_io.c b/drivers/staging/rtl8712/rtl871x_io.c index c42a57878655..8858687e87fe 100644 --- a/drivers/staging/rtl8712/rtl871x_io.c +++ b/drivers/staging/rtl8712/rtl871x_io.c @@ -132,7 +132,7 @@ uint r8712_alloc_io_queue(struct _adapter *adapter) pio_req = (struct io_req *)(pio_queue->free_ioreqs_buf); for (i = 0; i < NUM_IOREQ; i++) { INIT_LIST_HEAD(&pio_req->list); - list_insert_tail(&pio_req->list, &pio_queue->free_ioreqs); + list_add_tail(&pio_req->list, &pio_queue->free_ioreqs); pio_req++; } if ((register_intf_hdl((u8 *)adapter, &(pio_queue->intf))) == _FAIL) |