staging:r8188eu: remove unused rx_head member of struct recv_frame
authorIvan Safonov <insafonov@gmail.com>
Thu, 12 Jan 2017 09:16:57 +0000 (12:16 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Jan 2017 17:11:11 +0000 (18:11 +0100)
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>
drivers/staging/rtl8188eu/include/rtw_recv.h
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c

index 74e3a1c..591dd9d 100644 (file)
@@ -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;
index 5f6cbe0..9cae1a1 100644 (file)
@@ -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. */