summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2010-12-19 21:59:35 -0800
committerDavid S. Miller <davem@davemloft.net>2010-12-19 21:59:35 -0800
commit4c306a9291a077879fc3e933326caac3bc319caa (patch)
tree19704486012ac148ef37005ea38b9c2ae3442fc1 /net/core
parentba27d85c96c57111ae8acfa959643e5ce8e4bcbe (diff)
net: kill unused macros
These macros never be used, so remove them. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/neighbour.c1
-rw-r--r--net/core/netpoll.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index 8cc8f9a79db..60a90291342 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -41,7 +41,6 @@
#define NEIGH_PRINTK(x...) printk(x)
#define NEIGH_NOPRINTK(x...) do { ; } while(0)
-#define NEIGH_PRINTK0 NEIGH_PRINTK
#define NEIGH_PRINTK1 NEIGH_NOPRINTK
#define NEIGH_PRINTK2 NEIGH_NOPRINTK
diff --git a/net/core/netpoll.c b/net/core/netpoll.c
index ee38acb6d46..72d9b50109f 100644
--- a/net/core/netpoll.c
+++ b/net/core/netpoll.c
@@ -35,7 +35,6 @@
#define MAX_UDP_CHUNK 1460
#define MAX_SKBS 32
-#define MAX_QUEUE_DEPTH (MAX_SKBS / 2)
static struct sk_buff_head skb_pool;