staging: rtl8188eu: Remove 'u32 len' from struct recv_buf
authornavin patidar <navin.patidar@gmail.com>
Sat, 3 May 2014 11:45:29 +0000 (17:15 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 May 2014 00:30:11 +0000 (20:30 -0400)
Remove unused variable 'u32 len'.

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
drivers/staging/rtl8188eu/os_dep/recv_linux.c

index 3edc2cd1ac7b2fc9cc75acd80fc7370b6a1dc4e6..740818a5a7cf1106b8ff5a6f0feecb470d375c74 100644 (file)
@@ -30,7 +30,6 @@
 
 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf)
 {
-       precvbuf->len = 0;
        precvbuf->ref_cnt = 0;
 }
 
index 519ed4e17a61559925608334ee7e9a1f76e43a43..3f43f11791545847605e06b2ac4920e14bbd2e1e 100644 (file)
@@ -238,7 +238,6 @@ struct recv_buf {
        u32     ref_cnt;
        struct adapter *adapter;
        u8      *pbuf;
-       u32     len;
        struct urb *purb;
        struct sk_buff *pskb;
        u8      reuse;
index 25358fbeefeb3c1da45d36a9193de5bac320c7fc..2577ceb62deee1261b698539e68fd8d9a1e10559 100644 (file)
@@ -61,7 +61,6 @@ int rtw_os_recvbuf_resource_alloc(struct adapter *padapter,
        precvbuf->pskb = NULL;
        precvbuf->reuse = false;
        precvbuf->pbuf = NULL;
-       precvbuf->len = 0;
        return res;
 }