diff options
author | David S. Miller <davem@davemloft.net> | 2008-10-31 07:00:33 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-31 07:00:33 (GMT) |
commit | 3a8af722495469e9c550386b910c5b93c91cf107 (patch) | |
tree | 2378ed49af8922dd9b0fee6b94cf8f55644c5b49 /drivers | |
parent | e5e7ad44d05d3f8227a10a17761505fce2c08e38 (diff) | |
download | linux-fsl-qoriq-3a8af722495469e9c550386b910c5b93c91cf107.tar.xz |
net: Really remove all of LOOPBACK_TSO code.
As noticed by Saikiran Madugula, commit 7447ef63cf2dfdc444f4c72ae13f604350b2e25f
("loopback: Remove rest of LOOPBACK_TSO code.") got rid of
emulate_large_send_offload() but didn't get rid of the call
site as well.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/loopback.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/loopback.c b/drivers/net/loopback.c index 3b43bfd..b1ac63a 100644 --- a/drivers/net/loopback.c +++ b/drivers/net/loopback.c @@ -76,15 +76,6 @@ static int loopback_xmit(struct sk_buff *skb, struct net_device *dev) skb->protocol = eth_type_trans(skb,dev); -#ifdef LOOPBACK_TSO - if (skb_is_gso(skb)) { - BUG_ON(skb->protocol != htons(ETH_P_IP)); - BUG_ON(ip_hdr(skb)->protocol != IPPROTO_TCP); - - emulate_large_send_offload(skb); - return 0; - } -#endif dev->last_rx = jiffies; /* it's OK to use per_cpu_ptr() because BHs are off */ |