diff options
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 1ebdf1c0d118..1cbd209192ea 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c | |||
@@ -3514,8 +3514,6 @@ static int pktgen_thread_worker(void *arg) | |||
3514 | 3514 | ||
3515 | set_freezable(); | 3515 | set_freezable(); |
3516 | 3516 | ||
3517 | __set_current_state(TASK_RUNNING); | ||
3518 | |||
3519 | while (!kthread_should_stop()) { | 3517 | while (!kthread_should_stop()) { |
3520 | pkt_dev = next_to_run(t); | 3518 | pkt_dev = next_to_run(t); |
3521 | 3519 | ||
@@ -3560,7 +3558,6 @@ static int pktgen_thread_worker(void *arg) | |||
3560 | 3558 | ||
3561 | try_to_freeze(); | 3559 | try_to_freeze(); |
3562 | } | 3560 | } |
3563 | set_current_state(TASK_INTERRUPTIBLE); | ||
3564 | 3561 | ||
3565 | pr_debug("%s stopping all device\n", t->tsk->comm); | 3562 | pr_debug("%s stopping all device\n", t->tsk->comm); |
3566 | pktgen_stop(t); | 3563 | pktgen_stop(t); |