Skip to contentSkip to conversation

bpf/benchs/bench_ringbufs: remove unneeded semicolon

PATCH Applied Yang Li 2 participants 2 messages Feb 7, 2021 – Feb 8, 2021

Subsystems (5)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 bpf/benchs/bench_ringbufs: remove unneeded semicolon

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

---
 tools/testing/selftests/bpf/benchs/bench_ringbufs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/benchs/bench_ringbufs.c +1 -1
index da87c7f..bde6c9d 100644
@@ -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)
Signature · 1 line
1.8.3.1
#1 lore raw
This patch was applied to bpf/bpf-next.git (refs/heads/master):

Hello:

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

Quoted 8 lines · 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

[...]

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