From ef27ba5c845d22de79447d7da8e12471168a8e77 Mon Sep 17 00:00:00 2001 From: Patrick Rohr Date: Wed, 26 Jul 2023 11:47:42 -0700 Subject: [PATCH] net: remove comment in ndisc_router_discovery Removes superfluous (and misplaced) comment from ndisc_router_discovery. Signed-off-by: Patrick Rohr Reviewed-by: Simon Horman Reviewed-by: David Ahern Link: https://lore.kernel.org/r/20230726184742.342825-1-prohr@google.com Signed-off-by: Jakub Kicinski --- net/ipv6/ndisc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 29ddad1..95750fb 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c @@ -1266,10 +1266,6 @@ static enum skb_drop_reason ndisc_router_discovery(struct sk_buff *skb) } #endif - /* - * set the RA_RECV flag in the interface - */ - in6_dev = __in6_dev_get(skb->dev); if (!in6_dev) { ND_PRINTK(0, err, "RA: can't find inet6 device for %s\n", -- 2.7.4