diff options
author | Eric Dumazet | 2021-09-02 10:17:09 -0700 |
---|---|---|
committer | David S. Miller | 2021-09-03 11:48:28 +0100 |
commit | 20e7b9f82b6e7efc487e2c1a1dededbc4231fe81 (patch) | |
tree | 7b214b3818952d4a089227c89c1285b358d45844 /net/core/pktgen.c | |
parent | 79a58c06c2d1b93a9d3ec29df08e5b726a8c63e1 (diff) |
pktgen: remove unused variable
pktgen_thread_worker() no longer needs wait variable, delete it.
Fixes: ef87979c273a ("pktgen: better scheduler friendliness")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/pktgen.c')
-rw-r--r-- | net/core/pktgen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 9e5a3249373c..a3d74e2704c4 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -3602,7 +3602,6 @@ out: static int pktgen_thread_worker(void *arg) { - DEFINE_WAIT(wait); struct pktgen_thread *t = arg; struct pktgen_dev *pkt_dev = NULL; int cpu = t->cpu; |