Commit 20e7b9f8 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

pktgen: remove unused variable

pktgen_thread_worker() no longer needs wait variable, delete it.

Fixes: ef87979c ("pktgen: better scheduler friendliness")
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 79a58c06
...@@ -3602,7 +3602,6 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev) ...@@ -3602,7 +3602,6 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev)
static int pktgen_thread_worker(void *arg) static int pktgen_thread_worker(void *arg)
{ {
DEFINE_WAIT(wait);
struct pktgen_thread *t = arg; struct pktgen_thread *t = arg;
struct pktgen_dev *pkt_dev = NULL; struct pktgen_dev *pkt_dev = NULL;
int cpu = t->cpu; int cpu = t->cpu;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment