summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-09-10 18:11:28 +0200
committerDavid S. Miller <davem@davemloft.net>2018-09-10 19:02:25 +0200
commit0153167aebd0808fb90031dba07d4e696557474c (patch)
tree03d9f88d0b593ed70da251c1570f30ff8578e99e /include/net/ip6_fib.h
parentcxgb4: remove redundant assignment to vlan_cmd.dropnovlan_fm (diff)
downloadlinux-0153167aebd0808fb90031dba07d4e696557474c.tar.xz
linux-0153167aebd0808fb90031dba07d4e696557474c.zip
net/ipv6: Remove rt6i_prefsrc
After the conversion to fib6_info, rt6i_prefsrc has a single user that reads the value and otherwise it is only set. The one reader can be converted to use rt->from so rt6i_prefsrc can be removed, reducing rt6_info by another 20 bytes. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r--include/net/ip6_fib.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 3d4930528db0..c7496663f99a 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -182,7 +182,6 @@ struct rt6_info {
struct in6_addr rt6i_gateway;
struct inet6_dev *rt6i_idev;
u32 rt6i_flags;
- struct rt6key rt6i_prefsrc;
struct list_head rt6i_uncached;
struct uncached_list *rt6i_uncached_list;