[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20231228062715.338672-2-haifeng.xu@shopee.com>
Date: Thu, 28 Dec 2023 06:27:15 +0000
From: Haifeng Xu <haifeng.xu@...pee.com>
To: roman.gushchin@...ux.dev
Cc: akpm@...ux-foundation.org,
hannes@...xchg.org,
mhocko@...nel.org,
shakeelb@...gle.com,
linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
Haifeng Xu <haifeng.xu@...pee.com>
Subject: [PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key()
list_lru_init_key() isn't used by anyone, remove it to clean up.
Signed-off-by: Haifeng Xu <haifeng.xu@...pee.com>
---
include/linux/list_lru.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/linux/list_lru.h b/include/linux/list_lru.h
index b35968ee9fb5..57a445a5001f 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)
--
2.25.1
Powered by blists - more mailing lists