diff options
author | David Ahern <dsahern@gmail.com> | 2017-09-27 19:08:00 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-29 06:19:32 +0100 |
commit | c7c3e5913bf18eda3cf38932bebdce48351baac9 (patch) | |
tree | 27321a5ad7e3e96fec14ce1dd98535e92c7b05db /include | |
parent | fadad670a8abe89d08b875736557bd84063b07ec (diff) | |
download | linux-stable-c7c3e5913bf18eda3cf38932bebdce48351baac9.tar.gz linux-stable-c7c3e5913bf18eda3cf38932bebdce48351baac9.tar.bz2 linux-stable-c7c3e5913bf18eda3cf38932bebdce48351baac9.zip |
net: ipv4: remove fib_weight
fib_weight in fib_info is set but not used. Remove it and the
helpers for setting it.
Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip_fib.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 1a7f7e424320..f80524396c06 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h @@ -122,9 +122,6 @@ struct fib_info { #define fib_rtt fib_metrics->metrics[RTAX_RTT-1] #define fib_advmss fib_metrics->metrics[RTAX_ADVMSS-1] int fib_nhs; -#ifdef CONFIG_IP_ROUTE_MULTIPATH - int fib_weight; -#endif struct rcu_head rcu; struct fib_nh fib_nh[0]; #define fib_dev fib_nh[0].nh_dev |