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

Commit 4a758346 authored by Auke Kok's avatar Auke Kok Committed by Jeff Garzik
Browse files

ixgbe: remove accidentally added #ifdef



Let's not add these #ifdef NETIF_F_TSO's back.

Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 4bebfaa5
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -220,7 +220,6 @@ static bool ixgbe_clean_tx_irq(struct ixgbe_adapter *adapter,
			tx_ring->stats.bytes += tx_buffer_info->length;
			if (cleaned) {
				struct sk_buff *skb = tx_buffer_info->skb;
#ifdef NETIF_F_TSO
				unsigned int segs, bytecount;
				segs = skb_shinfo(skb)->gso_segs ?: 1;
				/* multiply data chunks by size of headers */
@@ -228,10 +227,6 @@ static bool ixgbe_clean_tx_irq(struct ixgbe_adapter *adapter,
					    skb->len;
				total_tx_packets += segs;
				total_tx_bytes += bytecount;
#else
				total_tx_packets++;
				total_tx_bytes += skb->len;
#endif
			}
			ixgbe_unmap_and_free_tx_resource(adapter,
							 tx_buffer_info);