Subject: [PATCH net-next] ipv6: Remove fib6_info_nh_lwt

From: David Ahern <[email-masked]>
Date: Sat, 20 Apr 2019 09:27:27 -0700

From: David Ahern <[email-masked]>

fib6_info_nh_lwt is no longer used; remove it.

Signed-off-by: David Ahern <[email-masked]>
---
 include/net/ip6_fib.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 6b7557b71c8c..352f767bea81 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -450,12 +450,6 @@ int fib6_nh_init(struct net *net, struct fib6_nh *fib6_nh,
 		 struct netlink_ext_ack *extack);
 void fib6_nh_release(struct fib6_nh *fib6_nh);
 
-static inline
-struct lwtunnel_state *fib6_info_nh_lwt(const struct fib6_info *f6i)
-{
-	return f6i->fib6_nh.fib_nh_lws;
-}
-
 void inet6_rt_notify(int event, struct fib6_info *rt, struct nl_info *info,
 		     unsigned int flags);
 
-- 
2.11.0