net: remove comment in ndisc_router_discovery
authorPatrick Rohr <prohr@google.com>
Wed, 26 Jul 2023 18:47:42 +0000 (11:47 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jul 2023 23:56:23 +0000 (16:56 -0700)
Removes superfluous (and misplaced) comment from ndisc_router_discovery.

Signed-off-by: Patrick Rohr <prohr@google.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230726184742.342825-1-prohr@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ndisc.c

index 29ddad1..95750fb 100644 (file)
@@ -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",