aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-09-27 19:08:00 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-29 06:19:32 +0100
commitc7c3e5913bf18eda3cf38932bebdce48351baac9 (patch)
tree27321a5ad7e3e96fec14ce1dd98535e92c7b05db /include/net/ip_fib.h
parentMerge branch 'bpf-extend-info' (diff)
downloadlinux-dev-c7c3e5913bf18eda3cf38932bebdce48351baac9.tar.xz
linux-dev-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/net/ip_fib.h')
-rw-r--r--include/net/ip_fib.h3
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