summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-07 15:52:40 +0800
committerAndrii Nakryiko <andrii@kernel.org>2021-02-08 13:41:24 -0800
commit215cb7d3823e798de327e3232e396434fab84f42 (patch)
tree7ff5b91a39425d805bf99f7dd42592203bed5307 /tools
parent23a2d70c7a2f28eb1a8f6bc19d68d23968cad0ce (diff)
downloadlinux-215cb7d3823e798de327e3232e396434fab84f42.tar.bz2
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 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/1612684360-115910-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/benchs/bench_ringbufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/benchs/bench_ringbufs.c b/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
index da87c7f31891..bde6c9d4cbd4 100644
--- a/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
+++ b/tools/testing/selftests/bpf/benchs/bench_ringbufs.c
@@ -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)