net: Remove debugging code
Eric Dumazet [Thu, 3 Sep 2009 12:17:20 +0000 (05:17 -0700)]
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>

net/core/dev.c

index dd94ae6..1a6561b 100644 (file)
@@ -5155,8 +5155,6 @@ struct net_device *alloc_netdev_mq(int sizeof_priv, const char *name,
        }
 
        dev = PTR_ALIGN(p, NETDEV_ALIGN);
-       pr_err("%s dev=%p queue_count=%d tx=%p\n", name, dev, queue_count, tx);
-       WARN_ON(queue_count == 1);
        dev->padded = (char *)dev - (char *)p;
 
        if (dev_addr_init(dev))