summaryrefslogtreecommitdiff
path: root/net/wanrouter/wanmain.c
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2011-01-14 01:19:52 +0300
committerDavid S. Miller <davem@davemloft.net>2011-01-20 10:20:04 +0300
commit441c793a56502638d45d5da2195056d686147370 (patch)
treedf9860150ce675a2f05e657f2ccad572eced7a66 /net/wanrouter/wanmain.c
parent6997e618910b902081a5123f228aac620faa899b (diff)
downloadlinux-441c793a56502638d45d5da2195056d686147370.tar.xz
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/wanrouter/wanmain.c')
-rw-r--r--net/wanrouter/wanmain.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c
index 74944a2dd436..788a12c1eb5d 100644
--- a/net/wanrouter/wanmain.c
+++ b/net/wanrouter/wanmain.c
@@ -59,8 +59,6 @@
#include <asm/uaccess.h> /* copy_to/from_user */
#include <linux/init.h> /* __initfunc et al. */
-#define KMEM_SAFETYZONE 8
-
#define DEV_TO_SLAVE(dev) (*((struct net_device **)netdev_priv(dev)))
/*