Commit 74e250e4 authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman

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

Remove unused variable 'u32 len'.
Signed-off-by: default avatarnavin patidar <navin.patidar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1b2a4fc7
...@@ -30,7 +30,6 @@ ...@@ -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;
} }
......
...@@ -238,7 +238,6 @@ struct recv_buf { ...@@ -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;
......
...@@ -61,7 +61,6 @@ int rtw_os_recvbuf_resource_alloc(struct adapter *padapter, ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment