diff mbox series

[net] pktgen: remove unused variable

Message ID 20210902171709.1965320-1-eric.dumazet@gmail.com
State New
Headers show
Series [net] pktgen: remove unused variable | expand

Commit Message

Eric Dumazet Sept. 2, 2021, 5:17 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

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>
---
 net/core/pktgen.c | 1 -
 1 file changed, 1 deletion(-)

Comments

patchwork-bot+netdevbpf@kernel.org Sept. 3, 2021, 11:10 a.m. UTC | #1
Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Thu,  2 Sep 2021 10:17:09 -0700 you wrote:
> From: Eric Dumazet <edumazet@google.com>

> 

> 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>

> 

> [...]


Here is the summary with links:
  - [net] pktgen: remove unused variable
    https://git.kernel.org/netdev/net/c/20e7b9f82b6e

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
diff mbox series

Patch

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;