ipv4: remove unused macro (FIB_RES_RESET) from ip_fib.h.
authorRami Rosen <ramirose@gmail.com>
Sun, 3 May 2009 08:58:48 +0000 (08:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 May 2009 21:19:51 +0000 (14:19 -0700)
Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h

index 34855eede5fe104c019d45c2cd6d1b466bd8acae..ef91fe924ba42ddf5a0748836726098ec2a95f9a 100644 (file)
@@ -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