[RFC PATCH] IPv6: sr: seg6_strict_lookup_nexthop() can be static
From: kernel test robot
Date: Tue Oct 13 2020 - 12:12:49 EST
Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
---
seg6_local.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/ipv6/seg6_local.c b/net/ipv6/seg6_local.c
index 1a669f12d56c9d..e949d24036c2cd 100644
--- a/net/ipv6/seg6_local.c
+++ b/net/ipv6/seg6_local.c
@@ -219,8 +219,8 @@ int seg6_lookup_nexthop(struct sk_buff *skb,
return seg6_lookup_any_nexthop(skb, nhaddr, 0, tbl_id, false);
}
-int seg6_strict_lookup_nexthop(struct sk_buff *skb,
- struct in6_addr *nhaddr, int oif, u32 tbl_id)
+static int seg6_strict_lookup_nexthop(struct sk_buff *skb,
+ struct in6_addr *nhaddr, int oif, u32 tbl_id)
{
return seg6_lookup_any_nexthop(skb, nhaddr, oif, tbl_id, false);
}