]> git.baikalelectronics.ru Git - kernel.git/commit
[PKTGEN]: Remove write-only variable.
authorPavel Emelyanov <xemul@openvz.org>
Fri, 31 Aug 2007 05:46:36 +0000 (22:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Aug 2007 05:46:36 +0000 (22:46 -0700)
commitddb46b1be114a0947209716b69dd1cd9c5c340e5
treea9679d3f2266598221d5282e6ccc390437c29c81
parent917cbcde7415d974e42a6f89c825805332d4f4c8
[PKTGEN]: Remove write-only variable.

The pktgen_thread.pid 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 <xemul@openvz.org>
Acked-by: Sukadev Bhattiprolu <sukadev@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/pktgen.c