Commit:     88282c6ecf0dacefda6090b0289d35e8a3cc6221
Parent:     a289d70d74c39a8e6938619f967fc6cd70ce1798
Author:     Pavel Emelyanov <[EMAIL PROTECTED]>
AuthorDate: Thu Aug 30 22:46:36 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Thu Aug 30 22:46:36 2007 -0700

    [PKTGEN]: Remove write-only variable.
    The is set to current->pid and is never used
    after this. So remove this at all.
    Found during isolating the explicit pid/tgid usage.
    Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]>
    Acked-by: Sukadev Bhattiprolu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 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 4ad62d3..36fdea7 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -380,7 +380,6 @@ struct pktgen_thread {
        /* Field for thread to receive "posted" events terminate, stop ifs etc. 
        u32 control;
-       int pid;
        int cpu;
        wait_queue_head_t queue;
@@ -3463,8 +3462,6 @@ static int pktgen_thread_worker(void *arg)
-       t->pid = current->pid;
        pr_debug("pktgen: starting pktgen/%d:  pid=%d\n", cpu, current->pid);
        max_before_softirq = t->max_before_softirq;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to