summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-05-03 17:15:21 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-03 20:30:10 -0400
commit9a4429ea62834d4e5e4e677b11b64a881da99b99 (patch)
treec25f28c33a04d3367005e369fc4f059d5d2de53a /drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
parent5fe2f910f44a49856245a79b7e4d711d4d9ce670 (diff)
downloadop-kernel-dev-9a4429ea62834d4e5e4e677b11b64a881da99b99.zip
op-kernel-dev-9a4429ea62834d4e5e4e677b11b64a881da99b99.tar.gz
staging: rtl8188eu: Remove 'struct list_head list' from struct recv_buf
Users of 'struct list_head list' variable e.g. rtw_enqueue_recvbuf(), rtw_enqueue_recvbuf_to_head() and rtw_dequeue_recvbuf() are already removed. Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
index b1b1584..98a79ba 100644
--- a/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
+++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
@@ -71,7 +71,6 @@ int rtl8188eu_init_recv_priv(struct adapter *padapter)
precvbuf = (struct recv_buf *)precvpriv->precv_buf;
for (i = 0; i < NR_RECVBUFF; i++) {
- _rtw_init_listhead(&precvbuf->list);
spin_lock_init(&precvbuf->recvbuf_lock);
precvbuf->alloc_sz = MAX_RECVBUF_SZ;
res = rtw_os_recvbuf_resource_alloc(padapter, precvbuf);
OpenPOWER on IntegriCloud