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>
This commit is contained in:

committed by
David S. Miller

parent
25290bfc12
commit
0153167aeb
@@ -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;
|
||||
|
Reference in New Issue
Block a user