2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00

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)
{
precvbuf->len = 0;
precvbuf->ref_cnt = 0;
}

View 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;

View 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;
}