Skip to content

Commit

Permalink
selftests/bpf: Remove unneeded semicolon
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Yang Li authored and Andrii Nakryiko committed Feb 9, 2021
1 parent 215cb7d commit 11da9f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/bpf/test_flow_dissector.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ static int do_rx(int fd)
if (rbuf != cfg_payload_char)
error(1, 0, "recv: payload mismatch");
num++;
};
}

return num;
}
Expand Down

0 comments on commit 11da9f0

Please sign in to comment.