[PATCH] bpf/benchs/bench_ringbufs: remove unneeded semicolon

Subsystems: bpf [general] (safe dynamic programs and tools), bpf [selftests] (test runners & infrastructure), kernel selftest framework, the rest

STALE2004d LANDED

Landed in mainline as 215cb7d3823e on 2021-02-08.

2 messages, 2 authors, 2021-02-08 · open the first message on its own page

[PATCH] bpf/benchs/bench_ringbufs: remove unneeded semicolon

From: Yang Li <hidden>
Date: 2021-02-07 07:54:21

Eliminate the following coccicheck warning:
./tools/testing/selftests/bpf/benchs/bench_ringbufs.c:322:2-3: Unneeded
semicolon

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>
---
 tools/testing/selftests/bpf/benchs/bench_ringbufs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/bpf/benchs/bench_ringbufs.c b/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
index da87c7f..bde6c9d 100644
--- a/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
+++ b/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
@@ -319,7 +319,7 @@ static void ringbuf_custom_process_ring(struct ringbuf_custom *r)
 			smp_store_release(r->consumer_pos, cons_pos);
 		else
 			break;
-	};
+	}
 }
 
 static void *ringbuf_custom_consumer(void *input)
-- 
1.8.3.1

Re: [PATCH] bpf/benchs/bench_ringbufs: remove unneeded semicolon

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-02-08 21:53:36

Hello:

This patch was applied to bpf/bpf-next.git (refs/heads/master):

On Sun,  7 Feb 2021 15:52:40 +0800 you wrote:
Eliminate the following coccicheck warning:
./tools/testing/selftests/bpf/benchs/bench_ringbufs.c:322:2-3: Unneeded
semicolon

Reported-by: Abaci Robot <redacted>
Signed-off-by: Yang Li <redacted>

[...]
Here is the summary with links:
  - bpf/benchs/bench_ringbufs: remove unneeded semicolon
    https://git.kernel.org/bpf/bpf-next/c/215cb7d3823e

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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help