mm: list_lru: remove unused macro list_lru_init_key()
list_lru_init_key() isn't used by anyone, remove it to clean up. Link: https://lkml.kernel.org/r/20231228062715.338672-2-haifeng.xu@shopee.com Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com> Acked-by: Roman Gushchin <roman.gushchin@linux.dev> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
This commit is contained in:
parent
0057db47f8
commit
a02b8bfe9a
@ -62,8 +62,6 @@ int __list_lru_init(struct list_lru *lru, bool memcg_aware,
|
||||
|
||||
#define list_lru_init(lru) \
|
||||
__list_lru_init((lru), false, NULL, NULL)
|
||||
#define list_lru_init_key(lru, key) \
|
||||
__list_lru_init((lru), false, (key), NULL)
|
||||
#define list_lru_init_memcg(lru, shrinker) \
|
||||
__list_lru_init((lru), true, NULL, shrinker)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user