Patchwork [net-next] ipv6: Remove fib6_info_nh_lwt

login
register
mail settings
Submitter dsahern@kernel.org
Date April 20, 2019, 4:27 p.m.
Message ID <20190420162727.26934-1-dsahern@kernel.org>
Download mbox | patch
Permalink /patch/777671/
State New
Headers show

Comments

dsahern@kernel.org - April 20, 2019, 4:27 p.m.
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(-)
David Miller - April 23, 2019, 4:46 a.m.
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.

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