[PATCH 1/2] tools: bpftool: Remove unused struct btf_attach_point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Yuan Can <yuancan@xxxxxxxxxx>
---
 tools/bpf/bpftool/btf.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tools/bpf/bpftool/btf.c b/tools/bpf/bpftool/btf.c
index 0744bd1150be..64411fe49a66 100644
--- a/tools/bpf/bpftool/btf.c
+++ b/tools/bpf/bpftool/btf.c
@@ -43,11 +43,6 @@ static const char * const btf_kind_str[NR_BTF_KINDS] = {
 	[BTF_KIND_ENUM64]	= "ENUM64",
 };
 
-struct btf_attach_point {
-	__u32 obj_id;
-	__u32 btf_id;
-};
-
 static const char *btf_int_enc_str(__u8 encoding)
 {
 	switch (encoding) {
-- 
2.17.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux