Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16978eb7 authored by Lendacky, Thomas's avatar Lendacky, Thomas Committed by David S. Miller
Browse files

amd-xgbe: Remove unused variable



The tso_header variable in the xgbe_tx_ring_data structure is not used,
remove it.

Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5fb4b86a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -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 */
};