]> git.baikalelectronics.ru Git - kernel.git/commit
bpftool: Remove unused struct btf_attach_point
authorYuan Can <yuancan@huawei.com>
Wed, 28 Sep 2022 09:04:39 +0000 (09:04 +0000)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 30 Sep 2022 21:08:40 +0000 (14:08 -0700)
commitf631e0a7b4f589ccc931d240a2fabcb9f557593d
treeaae35807eaaff25cedbdc753d36edaf6563b4170
parent6dc021be32fa260e6484421e0c46a00f9fef5169
bpftool: Remove unused struct btf_attach_point

After commit d46c449b41c0 ("bpftool: Switch to libbpf's hashmap for
programs/maps in BTF listing"), struct btf_attach_point is not used
anymore and can be removed as well.

Signed-off-by: Yuan Can <yuancan@huawei.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220928090440.79637-2-yuancan@huawei.com
tools/bpf/bpftool/btf.c