|
@@ -380,7 +380,6 @@ struct pktgen_thread {
|
|
/* Field for thread to receive "posted" events terminate, stop ifs etc. */
|
|
/* Field for thread to receive "posted" events terminate, stop ifs etc. */
|
|
|
|
|
|
u32 control;
|
|
u32 control;
|
|
- int pid;
|
|
|
|
int cpu;
|
|
int cpu;
|
|
|
|
|
|
wait_queue_head_t queue;
|
|
wait_queue_head_t queue;
|
|
@@ -3463,8 +3462,6 @@ static int pktgen_thread_worker(void *arg)
|
|
|
|
|
|
init_waitqueue_head(&t->queue);
|
|
init_waitqueue_head(&t->queue);
|
|
|
|
|
|
- t->pid = current->pid;
|
|
|
|
-
|
|
|
|
pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu, current->pid);
|
|
pr_debug("pktgen: starting pktgen/%d: pid=%d\n", cpu, current->pid);
|
|
|
|
|
|
max_before_softirq = t->max_before_softirq;
|
|
max_before_softirq = t->max_before_softirq;
|