diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2011-01-13 22:19:52 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-19 23:20:04 -0800 |
commit | 441c793a56502638d45d5da2195056d686147370 (patch) | |
tree | df9860150ce675a2f05e657f2ccad572eced7a66 /net/9p/trans_rdma.c | |
parent | 6997e618910b902081a5123f228aac620faa899b (diff) | |
download | linux-441c793a56502638d45d5da2195056d686147370.tar.gz linux-441c793a56502638d45d5da2195056d686147370.tar.bz2 linux-441c793a56502638d45d5da2195056d686147370.zip |
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/9p/trans_rdma.c')
-rw-r--r-- | net/9p/trans_rdma.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/9p/trans_rdma.c b/net/9p/trans_rdma.c index 17c5ba7551a5..29a54ccd213d 100644 --- a/net/9p/trans_rdma.c +++ b/net/9p/trans_rdma.c @@ -59,7 +59,6 @@ * safely advertise a maxsize * of 64k */ -#define P9_RDMA_MAX_SGE (P9_RDMA_MAXSIZE >> PAGE_SHIFT) /** * struct p9_trans_rdma - RDMA transport instance * |