amd-xgbe: Remove unused variable
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 20 Nov 2014 17:03:56 +0000 (11:03 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 20:19:11 +0000 (15:19 -0500)
The tso_header variable in the xgbe_tx_ring_data structure is not used,
remove it.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-desc.c
drivers/net/ethernet/amd/xgbe/xgbe.h

index 3c7c3869d867a5d198f4e4555da4b3aecab53e03..62cb4d3388dfcb241c4f721e4dfd8186431e5af1 100644 (file)
@@ -532,7 +532,6 @@ static int xgbe_map_tx_skb(struct xgbe_channel *channel, struct sk_buff *skb)
                }
                rdata->skb_dma = skb_dma;
                rdata->skb_dma_len = packet->header_len;
-               rdata->tx.tso_header = 1;
 
                offset = packet->header_len;
 
index 98504f1469ed44dc978a304309f163806664e970..ec0d37a917ae51217113839b98b049b2062ab567 100644 (file)
@@ -276,7 +276,6 @@ struct xgbe_buffer_data {
 
 /* Tx-related ring data */
 struct xgbe_tx_ring_data {
-       unsigned int tso_header;        /* TSO header indicator */
        unsigned int packets;           /* BQL packet count */
        unsigned int bytes;             /* BQL byte count */
 };