You need to sign in or sign up before continuing.
提交 11da9f0c 编写于 作者: Y Yang Li 提交者: Andrii Nakryiko

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: NAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: NYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: NAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1612780213-84583-1-git-send-email-yang.lee@linux.alibaba.com
上级 215cb7d3
...@@ -503,7 +503,7 @@ static int do_rx(int fd) ...@@ -503,7 +503,7 @@ static int do_rx(int fd)
if (rbuf != cfg_payload_char) if (rbuf != cfg_payload_char)
error(1, 0, "recv: payload mismatch"); error(1, 0, "recv: payload mismatch");
num++; num++;
}; }
return num; return num;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册