bpftool: Remove unused struct btf_attach_point

Bugzilla: https://bugzilla.redhat.com/2166911

commit d863f42930db35e82f47e4b4c78531a2b8d396ae
Author: Yuan Can <yuancan@huawei.com>
Date:   Wed Sep 28 09:04:39 2022 +0000

    bpftool: Remove unused struct btf_attach_point
    
    After commit 2828d0d75b73 ("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

Signed-off-by: Artem Savkov <asavkov@redhat.com>
This commit is contained in:
Artem Savkov 2023-02-03 14:50:32 +01:00 committed by Felix Maurer
parent be1c3a0b0a
commit cf8e1a1cf4
1 changed files with 0 additions and 5 deletions

View File

@ -43,11 +43,6 @@ static const char * const btf_kind_str[NR_BTF_KINDS] = {
[BTF_KIND_ENUM64] = "ENUM64", [BTF_KIND_ENUM64] = "ENUM64",
}; };
struct btf_attach_point {
__u32 obj_id;
__u32 btf_id;
};
static const char *btf_int_enc_str(__u8 encoding) static const char *btf_int_enc_str(__u8 encoding)
{ {
switch (encoding) { switch (encoding) {