staging: rtl8188eu: Remove 'struct list_head list' from struct recv_buf
authornavin patidar <navin.patidar@gmail.com>
Sat, 3 May 2014 11:45:21 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:30:10 +0000 (20:30 -0400)
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>
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
drivers/staging/rtl8188eu/include/rtw_recv.h

index b1b1584af1cdc3999ec48303a16ef7435988fd4e..98a79ba45d494728143894de5867480e891f16a5 100644 (file)
@@ -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);
index 677859e33b13b1184009c983e63fadd15168903d..103849fdb6f8f0ed9beb449a12fdfacbdd226943 100644 (file)
@@ -235,7 +235,6 @@ struct sta_recv_priv {
 };
 
 struct recv_buf {
-       struct list_head list;
        spinlock_t recvbuf_lock;
        u32     ref_cnt;
        struct adapter *adapter;