aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/core/pktgen.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 4ad62d37537..36fdea71d74 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -380,7 +380,6 @@ struct pktgen_thread {
380 /* Field for thread to receive "posted" events terminate, stop ifs etc. */ 380 /* Field for thread to receive "posted" events terminate, stop ifs etc. */
381 381
382 u32 control; 382 u32 control;
383 int pid;
384 int cpu; 383 int cpu;
385 384
386 wait_queue_head_t queue; 385 wait_queue_head_t queue;
@@ -3463,8 +3462,6 @@ static int pktgen_thread_worker(void *arg)
3463 3462
3464 init_waitqueue_head(&t->queue); 3463 init_waitqueue_head(&t->queue);
3465 3464
3466 t->pid = current->pid;
3467
3468 pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu, current->pid); 3465 pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu, current->pid);
3469 3466
3470 max_before_softirq = t->max_before_softirq; 3467 max_before_softirq = t->max_before_softirq;