summaryrefslogtreecommitdiff
path: root/include/net/ip_fib.h
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2009-05-03 12:58:48 +0400
committerDavid S. Miller <davem@davemloft.net>2009-05-04 01:19:51 +0400
commitaccc5b4f902b0ba83b2c6c48f2d9e7c204cef4a8 (patch)
tree14378867a326244639a809005dba1b1014dd38de /include/net/ip_fib.h
parenteb457f36929da6d78c1f03cbb9038ef62646d79d (diff)
downloadlinux-accc5b4f902b0ba83b2c6c48f2d9e7c204cef4a8.tar.xz
ipv4: remove unused macro (FIB_RES_RESET) from ip_fib.h.
Signed-off-by: Rami Rosen <ramirose@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.h2
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 {
#ifdef CONFIG_IP_ROUTE_MULTIPATH
#define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel])
-#define FIB_RES_RESET(res) ((res).nh_sel = 0)
#define FIB_TABLE_HASHSZ 2
#else /* CONFIG_IP_ROUTE_MULTIPATH */
#define FIB_RES_NH(res) ((res).fi->fib_nh[0])
-#define FIB_RES_RESET(res)
#define FIB_TABLE_HASHSZ 256