selftests/bpf: Remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Mon, 8 Feb 2021 10:30:13 +0000 (18:30 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 9 Feb 2021 01:54:24 +0000 (17:54 -0800)
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
tools/testing/selftests/bpf/test_flow_dissector.c

index 01f0c634d548185dbc1874f8b8a875661c406772..571cc076dd7db7f2254c4593e979ac5a8d89f273 100644 (file)
@@ -503,7 +503,7 @@ static int do_rx(int fd)
                if (rbuf != cfg_payload_char)
                        error(1, 0, "recv: payload mismatch");
                num++;
-       };
+       }
 
        return num;
 }