aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2009-09-03 08:17:20 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-03 08:17:20 -0400
commit55f9d6786de2f9cf37db50dbe8ae16f887f3ad7f (patch)
tree7ae3ed422ac14b5674c4ca96609135523f6a0d87 /net/core
parent2f8bc32b7a08502a79e0ccec8697000f2977f2fd (diff)
net: Remove debugging code
Remove a debugging aid I accidently left in previous 'cleanup' patch Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index dd94ae637e66..1a6561b1eb90 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -5155,8 +5155,6 @@ struct net_device *alloc_netdev_mq(int sizeof_priv, const char *name,
5155 } 5155 }
5156 5156
5157 dev = PTR_ALIGN(p, NETDEV_ALIGN); 5157 dev = PTR_ALIGN(p, NETDEV_ALIGN);
5158 pr_err("%s dev=%p queue_count=%d tx=%p\n", name, dev, queue_count, tx);
5159 WARN_ON(queue_count == 1);
5160 dev->padded = (char *)dev - (char *)p; 5158 dev->padded = (char *)dev - (char *)p;
5161 5159
5162 if (dev_addr_init(dev)) 5160 if (dev_addr_init(dev))