mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
2f8bc32b7a
commit
55f9d6786d
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue