selftests: bpf: remove unneeded semicolon
Subsystems (5)
PATCH 1/1 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 <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- tools/testing/selftests/bpf/test_flow_dissector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/bpf/test_flow_dissector.c +1 -1
@@ -503,7 +503,7 @@ static int do_rx(int fd)if (rbuf != cfg_payload_char)error (1 ,0 ,"recv: payload mismatch" ); num++; - }; + }return num; }
Signature · 1 line
1.8.3.1
Andrii Nakryiko
AppliedQuoted 8 lines · Yang Li
Eliminate the following coccicheck warning:
./tools/testing/selftests/bpf/test_flow_dissector.c:506:2-3: Unneeded semicolonReported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>---
Applied to bpf-next, changing subject to have more canonical "selftests/bpf: " prefix. Thanks.
Quoted 19 lines
tools/testing/selftests/bpf/test_flow_dissector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/testing/selftests/bpf/test_flow_dissector.c +1
-2@@ -503,7 +503,7 @@ static int do_rx(int fd)if (rbuf != cfg_payload_char)error (1 ,0 ,"recv: payload mismatch" ); num++; - }; + }return num; } --1.8.3.1