Skip to content

Commit a6bbdf2

Browse files
Zou Weiborkmann
authored andcommitted
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
1 parent b26d1e2 commit a6bbdf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/lib/bpf/btf_dump.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -658,7 +658,7 @@ static void btf_dump_emit_type(struct btf_dump *d, __u32 id, __u32 cont_id)
658658
if (!btf_dump_is_blacklisted(d, id)) {
659659
btf_dump_emit_typedef_def(d, id, t, 0);
660660
btf_dump_printf(d, ";\n\n");
661-
};
661+
}
662662
tstate->fwd_emitted = 1;
663663
break;
664664
default:

0 commit comments

Comments
 (0)