Skip to content

Commit

Permalink
net: Really remove all of LOOPBACK_TSO code.
Browse files Browse the repository at this point in the history
As noticed by Saikiran Madugula, commit 7447ef6
("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>
  • Loading branch information
davem330 committed Oct 31, 2008
1 parent e5e7ad4 commit 3a8af72
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions drivers/net/loopback.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 3a8af72

Please sign in to comment.