diff mbox series

[net] pktgen: remove unused variable

Message ID 20210902171709.1965320-1-eric.dumazet@gmail.com (mailing list archive)
State Accepted
Commit 20e7b9f82b6e7efc487e2c1a1dededbc4231fe81
Delegated to: Netdev Maintainers
Headers show
Series [net] pktgen: remove unused variable | expand

Checks

Context Check Description
netdev/cover_letter success Link
netdev/fixes_present success Link
netdev/patch_count success Link
netdev/tree_selection success Clearly marked for net
netdev/subject_prefix success Link
netdev/cc_maintainers fail 1 blamed authors not CCed: shemminger@vyatta.com; 5 maintainers not CCed: zhudi21@huawei.com shemminger@vyatta.com richardsonnick@google.com yebin10@huawei.com yejune.deng@gmail.com
netdev/source_inline success Was 0 now: 0
netdev/verify_signedoff success Link
netdev/module_param success Was 0 now: 0
netdev/build_32bit success Errors and warnings before: 0 this patch: 0
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/verify_fixes success Link
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 7 lines checked
netdev/build_allmodconfig_warn success Errors and warnings before: 0 this patch: 0
netdev/header_inline success Link

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;