summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2017-01-12 12:16:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-16 18:11:11 +0100
commit1fac9c5a6c2ad7096a9521e2c637cf0b28ee597b (patch)
tree97a8b474373e619b16b6de22839fc2f985ccd88e /drivers/staging/rtl8188eu
parentee151399acda1d358f097655c5f0f47a8fb28b95 (diff)
downloadop-kernel-dev-1fac9c5a6c2ad7096a9521e2c637cf0b28ee597b.zip
op-kernel-dev-1fac9c5a6c2ad7096a9521e2c637cf0b28ee597b.tar.gz
staging:r8188eu: remove unused rx_head member of struct recv_frame
Value of rx_head member of struct recv_frame does not used. Remove it. Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/include/rtw_recv.h1
-rw-r--r--drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/include/rtw_recv.h b/drivers/staging/rtl8188eu/include/rtw_recv.h
index 74e3a1c..591dd9d 100644
--- a/drivers/staging/rtl8188eu/include/rtw_recv.h
+++ b/drivers/staging/rtl8188eu/include/rtw_recv.h
@@ -229,7 +229,6 @@ struct recv_frame {
struct adapter *adapter;
struct rx_pkt_attrib attrib;
uint len;
- u8 *rx_head;
u8 *rx_data;
u8 *rx_tail;
u8 *rx_end;
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index 5f6cbe0..9cae1a1 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -125,7 +125,6 @@ static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb)
if (pkt_copy) {
pkt_copy->dev = adapt->pnetdev;
precvframe->pkt = pkt_copy;
- precvframe->rx_head = pkt_copy->data;
precvframe->rx_end = pkt_copy->data + alloc_sz;
skb_reserve(pkt_copy, 8 - ((size_t)(pkt_copy->data) & 7));/* force pkt_copy->data at 8-byte alignment address */
skb_reserve(pkt_copy, shift_sz);/* force ip_hdr at 8-byte alignment address according to shift_sz. */
OpenPOWER on IntegriCloud