staging: rtl8188eu: Remove 'u32 len' from struct recv_buf

Remove unused variable 'u32 len'.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
navin patidar 2014-05-03 17:15:29 +05:30 committed by Greg Kroah-Hartman
parent 1b2a4fc7a5
commit 74e250e479
3 changed files with 0 additions and 3 deletions

View file

@ -30,7 +30,6 @@
void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf) void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf)
{ {
precvbuf->len = 0;
precvbuf->ref_cnt = 0; precvbuf->ref_cnt = 0;
} }

View file

@ -238,7 +238,6 @@ struct recv_buf {
u32 ref_cnt; u32 ref_cnt;
struct adapter *adapter; struct adapter *adapter;
u8 *pbuf; u8 *pbuf;
u32 len;
struct urb *purb; struct urb *purb;
struct sk_buff *pskb; struct sk_buff *pskb;
u8 reuse; u8 reuse;

View file

@ -61,7 +61,6 @@ int rtw_os_recvbuf_resource_alloc(struct adapter *padapter,
precvbuf->pskb = NULL; precvbuf->pskb = NULL;
precvbuf->reuse = false; precvbuf->reuse = false;
precvbuf->pbuf = NULL; precvbuf->pbuf = NULL;
precvbuf->len = 0;
return res; return res;
} }