[RFC PATCH] IPv6: sr: seg6_strict_lookup_nexthop() can be static

kernel test robot
2020-10-13T16:12:50Z

Signed-off-by: kernel test robot <lkp@intel.com>
---
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);
}