]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ipv6: Remove fib6_info_nh_lwt
authorDavid Ahern <dsahern@gmail.com>
Sat, 20 Apr 2019 16:27:27 +0000 (09:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Apr 2019 04:46:42 +0000 (21:46 -0700)
fib6_info_nh_lwt is no longer used; remove it.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip6_fib.h

index 6b7557b71c8caef7785dd0c8c52dfb92cf4e8c52..352f767bea81e9ea503deea15d0c7429cd827382 100644 (file)
@@ -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);