diff mbox series

pagemap: remove wait_on_page_locked_killable()

Message ID 20230815030609.39313-1-wangkefeng.wang@huawei.com (mailing list archive)
State New, archived
Headers show
Series pagemap: remove wait_on_page_locked_killable() | expand

Commit Message

Kefeng Wang Aug. 15, 2023, 3:06 a.m. UTC
There is no users of wait_on_page_locked_killable(), remove it.

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
---
 include/linux/pagemap.h | 5 -----
 1 file changed, 5 deletions(-)

Comments

Matthew Wilcox Aug. 15, 2023, 3:02 a.m. UTC | #1
On Tue, Aug 15, 2023 at 11:06:09AM +0800, Kefeng Wang wrote:
> There is no users of wait_on_page_locked_killable(), remove it.
> 
> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

Yes, NFS was the last user.

Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
diff mbox series

Patch

diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
index 6f8d6529b350..351c3b7f93a1 100644
--- a/include/linux/pagemap.h
+++ b/include/linux/pagemap.h
@@ -1129,11 +1129,6 @@  static inline void wait_on_page_locked(struct page *page)
 	folio_wait_locked(page_folio(page));
 }
 
-static inline int wait_on_page_locked_killable(struct page *page)
-{
-	return folio_wait_locked_killable(page_folio(page));
-}
-
 void wait_on_page_writeback(struct page *page);
 void folio_wait_writeback(struct folio *folio);
 int folio_wait_writeback_killable(struct folio *folio);