Commit 4c8644f8 authored by Colin Ian King's avatar Colin Ian King Committed by Daniel Borkmann

selftests/bpf: Remove second semicolon

There are statements with two semicolons. Remove the second one, it
is redundant.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240315092654.2431062-1-colin.i.king@gmail.com
parent e60adf51
...@@ -186,7 +186,7 @@ static void *task_producer(void *input) ...@@ -186,7 +186,7 @@ static void *task_producer(void *input)
for (i = 0; i < batch_sz; i++) { for (i = 0; i < batch_sz; i++) {
if (!pthd_results[i]) if (!pthd_results[i])
pthread_join(pthds[i], NULL);; pthread_join(pthds[i], NULL);
} }
} }
......
...@@ -673,7 +673,7 @@ static __noinline void fill(struct bpf_iter_num *it, int *arr, __u32 n, int mul) ...@@ -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) 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))) { while ((t = bpf_iter_num_next(it))) {
i = *t; i = *t;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment