aboutsummaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
Diffstat (limited to 'net/core')
-rw-r--r--net/core/pktgen.c1
1 files changed, 0 insertions, 1 deletions
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)
2042 __u64 now; 2042 __u64 now;
2043 2043
2044 start = now = getCurUs(); 2044 start = now = getCurUs();
2045 printk(KERN_INFO "sleeping for %d\n", (int)(spin_until_us - now));
2046 while (now < spin_until_us) { 2045 while (now < spin_until_us) {
2047 /* TODO: optimize sleeping behavior */ 2046 /* TODO: optimize sleeping behavior */
2048 if (spin_until_us - now > jiffies_to_usecs(1) + 1) 2047 if (spin_until_us - now > jiffies_to_usecs(1) + 1)