Message ID | 20230808145741.33292-1-yuehaibing@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2adbb7637fd1fcec93f4680ddb5ddbbd1a91aefb |
Delegated to: | BPF |
Headers | show |
Series | [bpf-next] bpf: btf: Remove two unused function declarations | expand |
Hello: This patch was applied to bpf/bpf-next.git (master) by Martin KaFai Lau <martin.lau@kernel.org>: On Tue, 8 Aug 2023 22:57:41 +0800 you wrote: > Commit db559117828d ("bpf: Consolidate spin_lock, timer management into btf_record") > removed the implementations but leave declarations. > > Signed-off-by: Yue Haibing <yuehaibing@huawei.com> > --- > include/linux/btf.h | 2 -- > 1 file changed, 2 deletions(-) Here is the summary with links: - [bpf-next] bpf: btf: Remove two unused function declarations https://git.kernel.org/bpf/bpf-next/c/2adbb7637fd1 You are awesome, thank you!
diff --git a/include/linux/btf.h b/include/linux/btf.h index cac9f304e27a..df64cc642074 100644 --- a/include/linux/btf.h +++ b/include/linux/btf.h @@ -204,8 +204,6 @@ u32 btf_nr_types(const struct btf *btf); bool btf_member_is_reg_int(const struct btf *btf, const struct btf_type *s, const struct btf_member *m, u32 expected_offset, u32 expected_size); -int btf_find_spin_lock(const struct btf *btf, const struct btf_type *t); -int btf_find_timer(const struct btf *btf, const struct btf_type *t); struct btf_record *btf_parse_fields(const struct btf *btf, const struct btf_type *t, u32 field_mask, u32 value_size); int btf_check_and_fixup_fields(const struct btf *btf, struct btf_record *rec);
Commit db559117828d ("bpf: Consolidate spin_lock, timer management into btf_record") removed the implementations but leave declarations. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> --- include/linux/btf.h | 2 -- 1 file changed, 2 deletions(-)