summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-02-08 13:30:13 +0300
committerAndrii Nakryiko <andrii@kernel.org>2021-02-09 04:54:24 +0300
commit11da9f0c6d145e482991d29a771ce717d2f1b92b (patch)
treecf6aef2c7391d139d7b38fa047aac04a7747f6f1 /tools
parent215cb7d3823e798de327e3232e396434fab84f42 (diff)
downloadlinux-11da9f0c6d145e482991d29a771ce717d2f1b92b.tar.xz
selftests/bpf: Remove unneeded semicolon
Eliminate the following coccicheck warning: ./tools/testing/selftests/bpf/test_flow_dissector.c:506: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/1612780213-84583-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'tools')
-rw-r--r--tools/testing/selftests/bpf/test_flow_dissector.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/test_flow_dissector.c b/tools/testing/selftests/bpf/test_flow_dissector.c
index 01f0c634d548..571cc076dd7d 100644
--- a/tools/testing/selftests/bpf/test_flow_dissector.c
+++ b/tools/testing/selftests/bpf/test_flow_dissector.c
@@ -503,7 +503,7 @@ static int do_rx(int fd)
if (rbuf != cfg_payload_char)
error(1, 0, "recv: payload mismatch");
num++;
- };
+ }
return num;
}