diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-08 13:30:13 +0300 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2021-02-09 04:54:24 +0300 |
commit | 11da9f0c6d145e482991d29a771ce717d2f1b92b (patch) | |
tree | cf6aef2c7391d139d7b38fa047aac04a7747f6f1 /tools | |
parent | 215cb7d3823e798de327e3232e396434fab84f42 (diff) | |
download | linux-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.c | 2 |
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; } |