summaryrefslogtreecommitdiff
path: root/include/linux/rmap.h
diff options
context:
space:
mode:
authorKefeng Wang <wangkefeng.wang@huawei.com>2024-06-04 19:48:22 +0800
committerAndrew Morton <akpm@linux-foundation.org>2024-07-03 19:30:17 -0700
commita929e0d10f3db1a53668f6b9845db27d7fb63759 (patch)
treeeae82cc1a6595d53197e0153da731a6e74327c9a /include/linux/rmap.h
parent645b1399fa67baff565fa82c48976c53822a393f (diff)
downloadlinux-a929e0d10f3db1a53668f6b9845db27d7fb63759.tar.gz
linux-a929e0d10f3db1a53668f6b9845db27d7fb63759.tar.bz2
linux-a929e0d10f3db1a53668f6b9845db27d7fb63759.zip
mm: remove page_mkclean()
There are no more users of page_mkclean(), remove it and update the document and comment. Link: https://lkml.kernel.org/r/20240604114822.2089819-5-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Acked-by: David Hildenbrand <david@redhat.com> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: Helge Deller <deller@gmx.de> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/rmap.h')
-rw-r--r--include/linux/rmap.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/rmap.h b/include/linux/rmap.h
index 694d3d886245..980fa5d75d69 100644
--- a/include/linux/rmap.h
+++ b/include/linux/rmap.h
@@ -802,8 +802,4 @@ static inline int folio_mkclean(struct folio *folio)
}
#endif /* CONFIG_MMU */
-static inline int page_mkclean(struct page *page)
-{
- return folio_mkclean(page_folio(page));
-}
#endif /* _LINUX_RMAP_H */