Commit 526bc5ba authored by Yue Haibing's avatar Yue Haibing Committed by Martin KaFai Lau

bpf: lru: Remove unused declaration bpf_lru_promote()

Commit 3a08c2fd ("bpf: LRU List") declared but never implemented this.
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20230808145531.19692-1-yuehaibing@huawei.comSigned-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 898f55f5
......@@ -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
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