diff mbox series

[net-next] ipv6: Remove fib6_info_nh_lwt

Message ID 20190420162727.26934-1-dsahern@kernel.org
State Accepted
Delegated to: David Miller
Headers show
Series [net-next] ipv6: Remove fib6_info_nh_lwt | expand

Commit Message

David Ahern April 20, 2019, 4:27 p.m. UTC
From: David Ahern <dsahern@gmail.com>

fib6_info_nh_lwt is no longer used; remove it.

Signed-off-by: David Ahern <dsahern@gmail.com>
---
 include/net/ip6_fib.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

David Miller April 23, 2019, 4:46 a.m. UTC | #1
From: David Ahern <dsahern@kernel.org>
Date: Sat, 20 Apr 2019 09:27:27 -0700

> From: David Ahern <dsahern@gmail.com>
> 
> fib6_info_nh_lwt is no longer used; remove it.
> 
> Signed-off-by: David Ahern <dsahern@gmail.com>

Applied, thanks David.
diff mbox series

Patch

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);