From: Eric Dumazet Date: Tue, 31 Aug 2010 01:57:35 +0000 (+0000) Subject: pktgen: remove non used variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba4fd9d8282f7f856f2287fe8be784d1dfdda28b;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.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 10a1ea72010..386c2283f14 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 */