* [PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key()
@ 2023-12-28 6:27 Haifeng Xu
2024-01-03 1:53 ` Roman Gushchin
0 siblings, 1 reply; 2+ messages in thread
From: Haifeng Xu @ 2023-12-28 6:27 UTC (permalink / raw)
To: roman.gushchin
Cc: akpm, hannes, mhocko, shakeelb, linux-mm, linux-kernel, Haifeng Xu
list_lru_init_key() isn't used by anyone, remove it to clean up.
Signed-off-by: Haifeng Xu <haifeng.xu@shopee.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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key()
2023-12-28 6:27 [PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key() Haifeng Xu
@ 2024-01-03 1:53 ` Roman Gushchin
0 siblings, 0 replies; 2+ messages in thread
From: Roman Gushchin @ 2024-01-03 1:53 UTC (permalink / raw)
To: Haifeng Xu; +Cc: akpm, hannes, mhocko, shakeelb, linux-mm, linux-kernel
On Thu, Dec 28, 2023 at 06:27:15AM +0000, Haifeng Xu wrote:
> list_lru_init_key() isn't used by anyone, remove it to clean up.
>
> Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com>
Acked-by: Roman Gushchin <roman.gushchin@linux.dev>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-03 1:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-28 6:27 [PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key() Haifeng Xu
2024-01-03 1:53 ` Roman Gushchin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox