diff options
author | Eric Dumazet <edumazet@google.com> | 2021-09-02 20:17:09 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-09-03 13:48:28 +0300 |
commit | 20e7b9f82b6e7efc487e2c1a1dededbc4231fe81 (patch) | |
tree | 7b214b3818952d4a089227c89c1285b358d45844 | |
parent | 79a58c06c2d1b93a9d3ec29df08e5b726a8c63e1 (diff) | |
download | linux-20e7b9f82b6e7efc487e2c1a1dededbc4231fe81.tar.xz |
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>
-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; |