summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-08-31 01:57:35 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-31 13:37:06 -0700
commitba4fd9d8282f7f856f2287fe8be784d1dfdda28b (patch)
tree0360a5e63dbdf68ccb3d65383a1a20790ed5f462
parent72ed62f7c9f0abe11231d073195a722ee43d6ec1 (diff)
downloadop-kernel-dev-ba4fd9d8282f7f856f2287fe8be784d1dfdda28b.zip
op-kernel-dev-ba4fd9d8282f7f856f2287fe8be784d1dfdda28b.tar.gz
pktgen: remove non used variable
remove non used variable "queue" in pg_cleanup Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/pktgen.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 10a1ea7..386c228 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -3907,8 +3907,6 @@ static void __exit pg_cleanup(void)
{
struct pktgen_thread *t;
struct list_head *q, *n;
- wait_queue_head_t queue;
- init_waitqueue_head(&queue);
/* Stop all interfaces & threads */
OpenPOWER on IntegriCloud