summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-04-02 03:26:34 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2021-04-03 01:49:38 +0200
commitf07669df4c8df0b7134ae94be20a8b61bd157168 (patch)
tree6c4d54cda2c4d05537975745c7a91b3b7ecf4bf1 /tools/lib
parentbpf: Remove repeated struct btf_type declaration (diff)
downloadlinux-f07669df4c8df0b7134ae94be20a8b61bd157168.tar.xz
linux-f07669df4c8df0b7134ae94be20a8b61bd157168.zip
libbpf: Remove redundant semi-colon
Remove redundant semi-colon in finalize_btf_ext(). Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20210402012634.1965453-1-yangyingliang@huawei.com
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/bpf/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/linker.c b/tools/lib/bpf/linker.c
index 46b16cbdcda3..4e08bc07e635 100644
--- a/tools/lib/bpf/linker.c
+++ b/tools/lib/bpf/linker.c
@@ -1895,7 +1895,7 @@ static int finalize_btf_ext(struct bpf_linker *linker)
hdr->func_info_len = funcs_sz;
hdr->line_info_off = funcs_sz;
hdr->line_info_len = lines_sz;
- hdr->core_relo_off = funcs_sz + lines_sz;;
+ hdr->core_relo_off = funcs_sz + lines_sz;
hdr->core_relo_len = core_relos_sz;
if (funcs_sz) {