]> err.no Git - linux-2.6/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)
commit88282c6ecf0dacefda6090b0289d35e8a3cc6221
treea9679d3f2266598221d5282e6ccc390437c29c81
parenta289d70d74c39a8e6938619f967fc6cd70ce1798
[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