[PATCH] mm: remove clear_page_idle()

From: Xueshi Hu
Date: Wed Jul 12 2023 - 09:51:15 EST


All callers have now been converted to call folio_clear_idle().

Signed-off-by: Xueshi Hu <xueshi.hu@xxxxxxxxxx>
---
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 5cb7bd2078ec..d8f344840643 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.40.1