pktgen: remove non used variable
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 31 Aug 2010 01:57:35 +0000 (01:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Aug 2010 20:37:06 +0000 (13:37 -0700)
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>
net/core/pktgen.c

index 10a1ea72010d329295ce3936228aa5bffe7dc745..386c2283f14ec580824e8cac355b7da568259abc 100644 (file)
@@ -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 */