Commit 01b85396 authored by Yue Haibing's avatar Yue Haibing Committed by Martin KaFai Lau

bpf: Remove unused declaration bpf_link_new_file()

Commit a3b80e10 ("bpf: Allocate ID for bpf_link")
removed the implementation but not the declaration.
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230809140556.45836-1-yuehaibing@huawei.comSigned-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 6231e47b
......@@ -2120,7 +2120,6 @@ void bpf_link_cleanup(struct bpf_link_primer *primer);
void bpf_link_inc(struct bpf_link *link);
void bpf_link_put(struct bpf_link *link);
int bpf_link_new_fd(struct bpf_link *link);
struct file *bpf_link_new_file(struct bpf_link *link, int *reserved_fd);
struct bpf_link *bpf_link_get_from_fd(u32 ufd);
struct bpf_link *bpf_link_get_curr_or_next(u32 *id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment