bpf: lru: Remove unused declaration bpf_lru_promote()
authorYue Haibing <yuehaibing@huawei.com>
Tue, 8 Aug 2023 14:55:31 +0000 (22:55 +0800)
committerMartin KaFai Lau <martin.lau@kernel.org>
Wed, 9 Aug 2023 00:21:42 +0000 (17:21 -0700)
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>
kernel/bpf/bpf_lru_list.h

index 8f3c8b2b4490ead01e0fe62ed15bf199009866fc..cbd8d3720c2bbe3c9a173ce947be6f87fe3464c9 100644 (file)
@@ -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