diff options
author | Kefeng Wang <wangkefeng.wang@huawei.com> | 2023-08-15 05:06:09 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-21 22:38:03 +0200 |
commit | e45a2e947dfa6da2d73e2cf91ed6399c12522d4f (patch) | |
tree | 04eabd13714dc0e57f2d6902ea710faee548d977 | |
parent | Rename kmemleak_initialized to kmemleak_late_initialized (diff) | |
download | linux-e45a2e947dfa6da2d73e2cf91ed6399c12522d4f.tar.xz linux-e45a2e947dfa6da2d73e2cf91ed6399c12522d4f.zip |
pagemap: remove wait_on_page_locked_killable()
There is no users of wait_on_page_locked_killable(), remove it.
Link: https://lkml.kernel.org/r/20230815030609.39313-1-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-rw-r--r-- | include/linux/pagemap.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h index 0ab0f2362b9b..f4f24b594cd7 100644 --- a/include/linux/pagemap.h +++ b/include/linux/pagemap.h @@ -1060,11 +1060,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); |