Skip to content

Commit 4c8644f

Browse files
ColinIanKingborkmann
authored andcommitted
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]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent e60adf5 commit 4c8644f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/testing/selftests/bpf/benchs/bench_local_storage_create.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ static void *task_producer(void *input)
186186

187187
for (i = 0; i < batch_sz; i++) {
188188
if (!pthd_results[i])
189-
pthread_join(pthds[i], NULL);;
189+
pthread_join(pthds[i], NULL);
190190
}
191191
}
192192

tools/testing/selftests/bpf/progs/iters.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,7 @@ static __noinline void fill(struct bpf_iter_num *it, int *arr, __u32 n, int mul)
673673

674674
static __noinline int sum(struct bpf_iter_num *it, int *arr, __u32 n)
675675
{
676-
int *t, i, sum = 0;;
676+
int *t, i, sum = 0;
677677

678678
while ((t = bpf_iter_num_next(it))) {
679679
i = *t;

0 commit comments

Comments
 (0)