summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_forward.c
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2016-02-28 05:19:54 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-01 23:36:47 +0100
commit64d4e3431e686dc37ce388ba531c4c4e866fb141 (patch)
treea936d2daec492d68a39a23f5c4e5ec09a7339d19 /net/ipv4/ip_forward.c
parentMerge branch 'mlx5-next' (diff)
downloadlinux-64d4e3431e686dc37ce388ba531c4c4e866fb141.tar.xz
linux-64d4e3431e686dc37ce388ba531c4c4e866fb141.zip
net: remove skb_sender_cpu_clear()
After commit 52bd2d62ce67 ("net: better skb->sender_cpu and skb->napi_id cohabitation") skb_sender_cpu_clear() becomes empty and can be removed. Cc: Eric Dumazet <edumazet@google.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_forward.c')
-rw-r--r--net/ipv4/ip_forward.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/ip_forward.c b/net/ipv4/ip_forward.c
index da0d7ce85844..af18f1e4889e 100644
--- a/net/ipv4/ip_forward.c
+++ b/net/ipv4/ip_forward.c
@@ -71,7 +71,6 @@ static int ip_forward_finish(struct net *net, struct sock *sk, struct sk_buff *s
if (unlikely(opt->optlen))
ip_forward_options(skb);
- skb_sender_cpu_clear(skb);
return dst_output(net, sk, skb);
}