From: Jesse Brandeburg Date: Fri, 1 Feb 2008 00:59:47 +0000 (-0800) Subject: [PKTGEN]: pktgen should not print info that it is spinning X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=174ce0483198b9dffd712fdd7d53635954fddffe;p=deliverable%2Flinux.git [PKTGEN]: pktgen should not print info that it is spinning when using pktgen to send delay packets the module prints repeatedly to the kernel log: sleeping for X sleeping for X ... This is probably just a debugging item left in and should not be enabled for regular use of the module. Signed-off-by: Jesse Brandeburg Signed-off-by: David S. Miller --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index b7f2de19765d..bfcdfaebca5c 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -2042,7 +2042,6 @@ static void spin(struct pktgen_dev *pkt_dev, __u64 spin_until_us) __u64 now; start = now = getCurUs(); - printk(KERN_INFO "sleeping for %d\n", (int)(spin_until_us - now)); while (now < spin_until_us) { /* TODO: optimize sleeping behavior */ if (spin_until_us - now > jiffies_to_usecs(1) + 1)