diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2008-02-11 09:26:06 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 14:51:40 -0500 |
commit | 4a75834644ae32ded9bed14db39834d6d3bc4793 (patch) | |
tree | 7dbbb3e28f6c586b94454ff8b5750076f462df20 /drivers/net/ixgbe | |
parent | 4bebfaa56b72c94fe4997240ee73ad1c1fcf96c9 (diff) | |
download | linux-3.10-4a75834644ae32ded9bed14db39834d6d3bc4793.tar.gz linux-3.10-4a75834644ae32ded9bed14db39834d6d3bc4793.tar.bz2 linux-3.10-4a75834644ae32ded9bed14db39834d6d3bc4793.zip |
ixgbe: remove accidentally added #ifdef
Let's not add these #ifdef NETIF_F_TSO's back.
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_main.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c index a4aeaec1b29..540b647eb82 100644 --- a/drivers/net/ixgbe/ixgbe_main.c +++ b/drivers/net/ixgbe/ixgbe_main.c @@ -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); |