Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1557235
| From | Ivan Safonov <insafonov@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 7/7] staging:r8188eu: remove unused rx_head member of struct recv_frame |
| Date | 2017-01-12 10:30 +0100 |
| Message-ID | <sYJRM-2er-29@gated-at.bofh.it> (permalink) |
| References | <sYJI5-2bd-11@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Value of rx_head member of struct recv_frame does not used. Remove it.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
---
drivers/staging/rtl8188eu/include/rtw_recv.h | 1 -
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c | 1 -
2 files changed, 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. */
--
2.10.2
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 1/7] staging:r8188eu: remove unused (GET|PUT)U32 macros Ivan Safonov <insafonov@gmail.com> - 2017-01-12 10:30 +0100 [PATCH 6/7] staging:r8188eu: remove unnecessary trace output in rtw_recv_indicatepkt() Ivan Safonov <insafonov@gmail.com> - 2017-01-12 10:30 +0100 [PATCH 2/7] staging:r8188eu: remove unused WPA_(GET|PUT)_(BE|LE)_xx macro Ivan Safonov <insafonov@gmail.com> - 2017-01-12 10:30 +0100 [PATCH 4/7] staging:r8188eu: remove unused get_rxmem() Ivan Safonov <insafonov@gmail.com> - 2017-01-12 10:30 +0100 [PATCH 7/7] staging:r8188eu: remove unused rx_head member of struct recv_frame Ivan Safonov <insafonov@gmail.com> - 2017-01-12 10:30 +0100
csiph-web