From 73e791d73877e90444afb6036d86ea37fd78584f Mon Sep 17 00:00:00 2001 From: Xueshi Hu Date: Wed, 12 Jul 2023 21:49:59 +0800 Subject: [PATCH] mm: remove clear_page_idle() All callers have now been converted to call folio_clear_idle(). Link: https://lkml.kernel.org/r/20230712134959.145373-1-xueshi.hu@smartx.com Signed-off-by: Xueshi Hu Reviewed-by: David Hildenbrand Cc: Charan Teja Kalla Cc: Michal Hocko Signed-off-by: Andrew Morton --- include/linux/page_idle.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/include/linux/page_idle.h b/include/linux/page_idle.h index 5cb7bd2..d8f3448 100644 --- a/include/linux/page_idle.h +++ b/include/linux/page_idle.h @@ -144,9 +144,4 @@ static inline void set_page_idle(struct page *page) { folio_set_idle(page_folio(page)); } - -static inline void clear_page_idle(struct page *page) -{ - folio_clear_idle(page_folio(page)); -} #endif /* _LINUX_MM_PAGE_IDLE_H */ -- 2.7.4