diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-28 17:07:09 +0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-04-28 21:47:47 +0200 |
commit | a6bbdf2e750f245d219d39f3c3d06ace2c5871e6 (patch) | |
tree | fd8d6d0671763487ba25e05741e63ef24901ae09 /tools/lib | |
parent | b26d1e2b60284dc9f66ffad9ccd5c5da1100bb4b (diff) | |
download | linux-a6bbdf2e750f245d219d39f3c3d06ace2c5871e6.tar.bz2 |
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
Diffstat (limited to 'tools/lib')
-rw-r--r-- | tools/lib/bpf/btf_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/btf_dump.c b/tools/lib/bpf/btf_dump.c index 0c28ee82834b..de07e559a11d 100644 --- a/tools/lib/bpf/btf_dump.c +++ b/tools/lib/bpf/btf_dump.c @@ -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)) { btf_dump_emit_typedef_def(d, id, t, 0); btf_dump_printf(d, ";\n\n"); - }; + } tstate->fwd_emitted = 1; break; default: |