Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

navin patidar and committed by
Greg Kroah-Hartman
74e250e4 1b2a4fc7

-3
-1
drivers/staging/rtl8188eu/hal/rtl8188eu_recv.c
··· 30 30 31 31 void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf) 32 32 { 33 - precvbuf->len = 0; 34 33 precvbuf->ref_cnt = 0; 35 34 } 36 35
-1
drivers/staging/rtl8188eu/include/rtw_recv.h
··· 238 238 u32 ref_cnt; 239 239 struct adapter *adapter; 240 240 u8 *pbuf; 241 - u32 len; 242 241 struct urb *purb; 243 242 struct sk_buff *pskb; 244 243 u8 reuse;
-1
drivers/staging/rtl8188eu/os_dep/recv_linux.c
··· 61 61 precvbuf->pskb = NULL; 62 62 precvbuf->reuse = false; 63 63 precvbuf->pbuf = NULL; 64 - precvbuf->len = 0; 65 64 return res; 66 65 } 67 66