[PATCH 2/2] mm: list_lru: remove unused macro list_lru_init_key()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



list_lru_init_key() isn't used by anyone, remove it to clean up.

Signed-off-by: Haifeng Xu <haifeng.xu@xxxxxxxxxx>
---
 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





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux