From: Eric Dumazet Date: Tue, 31 Aug 2010 01:57:35 +0000 (+0000) Subject: pktgen: remove non used variable X-Git-Tag: firefly_0821_release~7613^2~3670^2~621 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ba4fd9d8282f7f856f2287fe8be784d1dfdda28b;p=firefly-linux-kernel-4.4.55.git pktgen: remove non used variable remove non used variable "queue" in pg_cleanup Signed-off-by: Eric Dumazet Signed-off-by: David S. Miller --- 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 */