]> www.infradead.org Git - users/willy/pagecache.git/commitdiff
mm: Remove test_set_page_writeback()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Tue, 18 Jul 2023 17:25:41 +0000 (13:25 -0400)
committerMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 4 Oct 2023 01:18:59 +0000 (21:18 -0400)
There are no more callers of this wrapper.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
include/linux/page-flags.h

index a88e64acebfea27f501dbdf39fad57ab81533579..a440062e93865f5de6cfcb1bd42f777988a30ea7 100644 (file)
@@ -780,11 +780,6 @@ bool set_page_writeback(struct page *page);
 #define folio_start_writeback_keepwrite(folio) \
        __folio_start_writeback(folio, true)
 
-static inline bool test_set_page_writeback(struct page *page)
-{
-       return set_page_writeback(page);
-}
-
 static __always_inline bool folio_test_head(struct folio *folio)
 {
        return test_bit(PG_head, folio_flags(folio, FOLIO_PF_ANY));