diff options
author | Haifeng Xu <haifeng.xu@shopee.com> | 2023-12-28 09:27:15 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2024-02-22 03:00:02 +0300 |
commit | a02b8bfe9a60ecb97bab7ba1a10a513bf78a7866 (patch) | |
tree | be2d81dd306380470d5e5783c40cb3b015912349 | |
parent | 0057db47f8785d1017a04ec1c9590e0af10eb220 (diff) | |
download | linux-a02b8bfe9a60ecb97bab7ba1a10a513bf78a7866.tar.xz |
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>
-rw-r--r-- | include/linux/list_lru.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/list_lru.h b/include/linux/list_lru.h index 7675a48a0701..c679e6b293c4 100644 --- a/include/linux/list_lru.h +++ b/include/linux/list_lru.h @@ -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) |