projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb457f3
)
ipv4: remove unused macro (FIB_RES_RESET) from ip_fib.h.
author
Rami Rosen
<ramirose@gmail.com>
Sun, 3 May 2009 08:58:48 +0000
(08:58 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/include/net/ip_fib.h
b/include/net/ip_fib.h
index
34855ee
..
ef91fe9
100644
(file)
--- 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