summaryrefslogtreecommitdiff
path: root/include/linux/page_idle.h
diff options
context:
space:
mode:
authorXueshi Hu <xueshi.hu@smartx.com>2023-07-12 21:49:59 +0800
committerAndrew Morton <akpm@linux-foundation.org>2023-08-18 10:12:25 -0700
commit73e791d73877e90444afb6036d86ea37fd78584f (patch)
treeffcc3f2604fd18b7628e66e34da0ad4142e43be7 /include/linux/page_idle.h
parent610d06576737f5401647a4aab46558c1114898fb (diff)
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 <xueshi.hu@smartx.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Charan Teja Kalla <quic_charante@quicinc.com> Cc: Michal Hocko <mhocko@suse.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/page_idle.h')
-rw-r--r--include/linux/page_idle.h5
1 files changed, 0 insertions, 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 */