summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorPatrick Rohr <prohr@google.com>2023-07-26 21:47:42 +0300
committerJakub Kicinski <kuba@kernel.org>2023-07-28 02:56:23 +0300
commitef27ba5c845d22de79447d7da8e12471168a8e77 (patch)
treebd49bd2f9b5e5d05231ebab923d81ab9c8154255 /net/ipv6
parent014acf26685cfcfae37c9e98b83c622c0b01cf19 (diff)
downloadlinux-ef27ba5c845d22de79447d7da8e12471168a8e77.tar.xz
net: remove comment in ndisc_router_discovery
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>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/ndisc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c
index 29ddad1c1a2f..95750fbf6782 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",