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/rds | |
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/rds')
-rw-r--r-- | net/rds/rds.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/rds/rds.h b/net/rds/rds.h index 9542449c0720..da8adac2bf06 100644 --- a/net/rds/rds.h +++ b/net/rds/rds.h | |||
@@ -50,7 +50,6 @@ rdsdebug(char *fmt, ...) | |||
50 | #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) | 50 | #define RDS_FRAG_SIZE ((unsigned int)(1 << RDS_FRAG_SHIFT)) |
51 | 51 | ||
52 | #define RDS_CONG_MAP_BYTES (65536 / 8) | 52 | #define RDS_CONG_MAP_BYTES (65536 / 8) |
53 | #define RDS_CONG_MAP_LONGS (RDS_CONG_MAP_BYTES / sizeof(unsigned long)) | ||
54 | #define RDS_CONG_MAP_PAGES (PAGE_ALIGN(RDS_CONG_MAP_BYTES) / PAGE_SIZE) | 53 | #define RDS_CONG_MAP_PAGES (PAGE_ALIGN(RDS_CONG_MAP_BYTES) / PAGE_SIZE) |
55 | #define RDS_CONG_MAP_PAGE_BITS (PAGE_SIZE * 8) | 54 | #define RDS_CONG_MAP_PAGE_BITS (PAGE_SIZE * 8) |
56 | 55 | ||