bcachefs: Remove page_state_init_for_read

This is dead code; delete the function.

Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Matthew Wilcox (Oracle) 2020-11-05 15:58:37 +00:00 committed by Kent Overstreet
parent b735d73a00
commit 96fee47e44

View file

@ -624,12 +624,6 @@ static void bch2_readpages_end_io(struct bio *bio)
bio_put(bio);
}
static inline void page_state_init_for_read(struct page *page)
{
SetPagePrivate(page);
page->private = 0;
}
struct readpages_iter {
struct address_space *mapping;
struct page **pages;