summaryrefslogtreecommitdiffstats
path: root/net/core/pktgen.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2010-08-31 03:57:35 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-31 22:37:06 +0200
commitba4fd9d8282f7f856f2287fe8be784d1dfdda28b (patch)
tree0360a5e63dbdf68ccb3d65383a1a20790ed5f462 /net/core/pktgen.c
parentvlan: Use vlan_dev_real_dev in vlan_hwaccel_do_receive (diff)
downloadlinux-ba4fd9d8282f7f856f2287fe8be784d1dfdda28b.tar.xz
linux-ba4fd9d8282f7f856f2287fe8be784d1dfdda28b.zip
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>
Diffstat (limited to 'net/core/pktgen.c')
-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 10a1ea72010d..386c2283f14e 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 */