Re: [PATCH] Remove write-only variable from pktgen_thread

2007-08-30 Thread David Miller
From: [EMAIL PROTECTED] Date: Wed, 29 Aug 2007 14:33:56 -0700 > Pavel Emelianov [EMAIL PROTECTED] wrote: > | 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: Pa

Re: [PATCH] Remove write-only variable from pktgen_thread

2007-08-29 Thread sukadev
Pavel Emelianov [EMAIL PROTECTED] wrote: | 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 <[EMAIL PROTECTED]> Good observation that its not being used :

[PATCH] Remove write-only variable from pktgen_thread

2007-08-29 Thread Pavel Emelyanov
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 <[EMAIL PROTECTED]> --- diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 3a3154e..93695c2 100644 --- a/ne