aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/mcast.c
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2018-01-16 15:40:00 -0800
committerDavid S. Miller <davem@davemloft.net>2018-01-19 14:17:44 -0500
commit5a75114adb718b262ac3e831d0f0b156c0455ab2 (patch)
tree595cd1d5177c4a51628972f4a4f4cd4269981011 /net/ipv6/mcast.c
parentcaif: reduce stack size with KASAN (diff)
downloadlinux-dev-5a75114adb718b262ac3e831d0f0b156c0455ab2.tar.xz
linux-dev-5a75114adb718b262ac3e831d0f0b156c0455ab2.zip
ipv6: mcast: remove dead code
Since commit 41033f029e39 ("snmp: Remove duplicate OUTMCAST stat increment") one line of code became unneeded. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
-rw-r--r--net/ipv6/mcast.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 40b223a930a3..6a5d0e39bb87 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -1655,8 +1655,6 @@ static void mld_sendpack(struct sk_buff *skb)
if (err)
goto err_out;
- payload_len = skb->len;
-
err = NF_HOOK(NFPROTO_IPV6, NF_INET_LOCAL_OUT,
net, net->ipv6.igmp_sk, skb, NULL, skb->dev,
dst_output);