All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net] pktgen: remove unused variable
@ 2021-09-02 17:17 Eric Dumazet
  2021-09-03 11:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Dumazet @ 2021-09-02 17:17 UTC (permalink / raw)
  To: David S . Miller, Jakub Kicinski
  Cc: netdev, Eric Dumazet, Eric Dumazet, Stephen Hemminger

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

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net] pktgen: remove unused variable
  2021-09-02 17:17 [PATCH net] pktgen: remove unused variable Eric Dumazet
@ 2021-09-03 11:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-03 11:10 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: davem, kuba, netdev, edumazet, stephen

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-03 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-02 17:17 [PATCH net] pktgen: remove unused variable Eric Dumazet
2021-09-03 11:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.