summaryrefslogtreecommitdiff
path: root/kernel/bpf/bpf_lru_list.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-08 17:55:31 +0300
committerMartin KaFai Lau <martin.lau@kernel.org>2023-08-09 03:21:42 +0300
commit526bc5ba19e8701a2b03fdbd2c01e684f0cf9010 (patch)
treeaa366df7a381bd284308640cb8feee6b6bc11cb2 /kernel/bpf/bpf_lru_list.h
parent898f55f50a00f56dac1ef55f5478c10a7511d0a6 (diff)
downloadlinux-526bc5ba19e8701a2b03fdbd2c01e684f0cf9010.tar.xz
bpf: lru: Remove unused declaration bpf_lru_promote()
Commit 3a08c2fd7634 ("bpf: LRU List") declared but never implemented this. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20230808145531.19692-1-yuehaibing@huawei.com Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Diffstat (limited to 'kernel/bpf/bpf_lru_list.h')
-rw-r--r--kernel/bpf/bpf_lru_list.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/bpf/bpf_lru_list.h b/kernel/bpf/bpf_lru_list.h
index 8f3c8b2b4490..cbd8d3720c2b 100644
--- a/kernel/bpf/bpf_lru_list.h
+++ b/kernel/bpf/bpf_lru_list.h
@@ -75,6 +75,5 @@ void bpf_lru_populate(struct bpf_lru *lru, void *buf, u32 node_offset,
void bpf_lru_destroy(struct bpf_lru *lru);
struct bpf_lru_node *bpf_lru_pop_free(struct bpf_lru *lru, u32 hash);
void bpf_lru_push_free(struct bpf_lru *lru, struct bpf_lru_node *node);
-void bpf_lru_promote(struct bpf_lru *lru, struct bpf_lru_node *node);
#endif