diff mbox

[net-next-2.6] net: net/core/dev.c cleanups

Message ID 4A9FB07D.5000509@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Eric Dumazet Sept. 3, 2009, 12:03 p.m. UTC
Jiri Pirko a écrit :
> Hmm, this patch causes following warnings for me:
> 
> eth%d dev=ffff88007b9dc000 queue_count=1 tx=ffff88007c565e00

Oops !

Sorry, I left a debugging aid :(

Thanks Jiri

[PATCH net-next-2.6] net: Remove debugging code

Remove a debugging aid I accidently left in previous 'cleanup' patch

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
---
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller Sept. 3, 2009, 12:17 p.m. UTC | #1
From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Thu, 03 Sep 2009 14:03:09 +0200

> [PATCH net-next-2.6] net: Remove debugging code
> 
> Remove a debugging aid I accidently left in previous 'cleanup' patch
> 
> Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>

Sadly I went over the original patch with a fine-toothed comb
and I completely missed this :-(

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/net/core/dev.c b/net/core/dev.c
index dd94ae6..1a6561b 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,
 	}
 
 	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))