diff options
Diffstat (limited to 'include/net/ip_fib.h')
-rw-r--r-- | include/net/ip_fib.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/ip_fib.h b/include/net/ip_fib.h index 34855eede5fe..ef91fe924ba4 100644 --- a/include/net/ip_fib.h +++ b/include/net/ip_fib.h | |||
@@ -124,14 +124,12 @@ struct fib_result_nl { | |||
124 | #ifdef CONFIG_IP_ROUTE_MULTIPATH | 124 | #ifdef CONFIG_IP_ROUTE_MULTIPATH |
125 | 125 | ||
126 | #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) | 126 | #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) |
127 | #define FIB_RES_RESET(res) ((res).nh_sel = 0) | ||
128 | 127 | ||
129 | #define FIB_TABLE_HASHSZ 2 | 128 | #define FIB_TABLE_HASHSZ 2 |
130 | 129 | ||
131 | #else /* CONFIG_IP_ROUTE_MULTIPATH */ | 130 | #else /* CONFIG_IP_ROUTE_MULTIPATH */ |
132 | 131 | ||
133 | #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) | 132 | #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) |
134 | #define FIB_RES_RESET(res) | ||
135 | 133 | ||
136 | #define FIB_TABLE_HASHSZ 256 | 134 | #define FIB_TABLE_HASHSZ 256 |
137 | 135 | ||