Skip to contentSkip to conversation

ipv4: remove unused macro (FIB_RES_RESET) from ip_fib.h.

PATCH Applied Rami Rosen 2 participants 2 messages May 3, 2009

Subsystems (3)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 ipv4: remove unused macro (FIB_RES_RESET) from ip_fib.h.

Hi,
This patch removes an unused macro (FIB_RES_RESET) from include/net/ip_fib.h

Regards,
Rami Rosen

include/net/ip_fib.h +0 -2
index 8b12667..988dd0e 100644
@@ -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