[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210902171709.1965320-1-eric.dumazet@gmail.com>
Date: Thu, 2 Sep 2021 10:17:09 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev <netdev@...r.kernel.org>,
Eric Dumazet <edumazet@...gle.com>,
Eric Dumazet <eric.dumazet@...il.com>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH net] pktgen: remove unused variable
From: Eric Dumazet <edumazet@...gle.com>
pktgen_thread_worker() no longer needs wait variable, delete it.
Fixes: ef87979c273a ("pktgen: better scheduler friendliness")
Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Cc: Stephen Hemminger <stephen@...workplumber.org>
---
net/core/pktgen.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/core/pktgen.c b/net/core/pktgen.c
index 9e5a3249373c239f0d3ba2088f79a09cf4085403..a3d74e2704c42e3bec1aa502b911c1b952a56cf1 100644
--- a/net/core/pktgen.c
+++ b/net/core/pktgen.c
@@ -3602,7 +3602,6 @@ static void pktgen_xmit(struct pktgen_dev *pkt_dev)
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;
--
2.33.0.153.gba50c8fa24-goog
Powered by blists - more mailing lists