mirror of
https://github.com/torvalds/linux.git
synced 2024-12-26 21:02:19 +00:00
libbpf: Remove unneeded semicolon in btf_dump_emit_type
Fixes the following coccicheck warning: tools/lib/bpf/btf_dump.c:661:4-5: Unneeded semicolon Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/1588064829-70613-1-git-send-email-zou_wei@huawei.com
This commit is contained in:
parent
b26d1e2b60
commit
a6bbdf2e75
@ -658,7 +658,7 @@ static void btf_dump_emit_type(struct btf_dump *d, __u32 id, __u32 cont_id)
|
|||||||
if (!btf_dump_is_blacklisted(d, id)) {
|
if (!btf_dump_is_blacklisted(d, id)) {
|
||||||
btf_dump_emit_typedef_def(d, id, t, 0);
|
btf_dump_emit_typedef_def(d, id, t, 0);
|
||||||
btf_dump_printf(d, ";\n\n");
|
btf_dump_printf(d, ";\n\n");
|
||||||
};
|
}
|
||||||
tstate->fwd_emitted = 1;
|
tstate->fwd_emitted = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user