libbpf: Remove redundant semi-colon
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 2 Apr 2021 01:26:34 +0000 (09:26 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 2 Apr 2021 23:49:38 +0000 (01:49 +0200)
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
tools/lib/bpf/linker.c

index 46b16cb..4e08bc0 100644 (file)
@@ -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) {