selftests/bpf: Remove second semicolon
There are statements with two semicolons. Remove the second one, it is redundant. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20240315092654.2431062-1-colin.i.king@gmail.com
This commit is contained in:
committed by
Daniel Borkmann
parent
e60adf5132
commit
4c8644f86c
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user