diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-01-13 17:19:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-20 02:20:04 -0500 |
commit | 441c793a56502638d45d5da2195056d686147370 (patch) | |
tree | df9860150ce675a2f05e657f2ccad572eced7a66 /net/decnet | |
parent | 6997e618910b902081a5123f228aac620faa899b (diff) |
net: cleanup unused macros in net directory
Clean up some unused macros in net/*.
1. be left for code change. e.g. PGV_FROM_VMALLOC, PGV_FROM_VMALLOC, KMEM_SAFETYZONE.
2. never be used since introduced to kernel.
e.g. P9_RDMA_MAX_SGE, UTIL_CTRL_PKT_SIZE.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Acked-by: Sjur Braendeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/decnet')
-rw-r--r-- | net/decnet/dn_table.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/decnet/dn_table.c b/net/decnet/dn_table.c index f2abd3755690..b66600b3f4b5 100644 --- a/net/decnet/dn_table.c +++ b/net/decnet/dn_table.c | |||
@@ -59,7 +59,6 @@ struct dn_hash | |||
59 | }; | 59 | }; |
60 | 60 | ||
61 | #define dz_key_0(key) ((key).datum = 0) | 61 | #define dz_key_0(key) ((key).datum = 0) |
62 | #define dz_prefix(key,dz) ((key).datum) | ||
63 | 62 | ||
64 | #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ | 63 | #define for_nexthops(fi) { int nhsel; const struct dn_fib_nh *nh;\ |
65 | for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) | 64 | for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) |