selftests/bpf: Remove second semicolon
Subsystems (4)
PATCH 1/1 selftests/bpf: Remove second semicolon
There are statements with two semicolons. Remove the second one, it is redundant.
Signed-off-by Colin Ian King <[email protected]>
--- tools/testing/selftests/bpf/benchs/bench_local_storage_create.c | 2 +- tools/testing/selftests/bpf/progs/iters.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/bpf/benchs/bench_local_storage_create.c +1 -1
@@ -186,7 +186,7 @@ static void *task_producer(void *input)for (i =0 ; i < batch_sz; i++) {if (!pthd_results[i]) -pthread_join (pthds[i],NULL );; +pthread_join (pthds[i],NULL ); } }
tools/testing/selftests/bpf/progs/iters.c +1 -1
@@ -673,7 +673,7 @@ static __noinline void fill(struct bpf_iter_num *it, int *arr, __u32 n, int mul) static __noinline int sum(struct bpf_iter_num *it, int *arr, __u32 n) { -int *t, i, sum =0 ;; +int *t, i, sum =0 ;while ((t =bpf_iter_num_next (it))) { i = *t;
Signature · 1 line
2.39.2
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Hello:
This patch was applied to bpf/bpf-next.git (master) by Daniel Borkmann <[email protected]>:
Quoted 8 lines · On Fri, 15 Mar 2024 09:26:54 +0000 you wrote:
There are statements with two semicolons. Remove the second one, it is redundant.
Signed-off-by Colin Ian King <[email protected]>--- tools/testing/selftests/bpf/benchs/bench_local_storage_create.c | 2 +- tools/testing/selftests/bpf/progs/iters.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
- [next] selftests/bpf: Remove second semicolon
https://git.kernel.org/bpf/bpf-next/c/4c8644f86c85
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html