Commit 96fee47e authored by Matthew Wilcox (Oracle)'s avatar Matthew Wilcox (Oracle) Committed by Kent Overstreet

bcachefs: Remove page_state_init_for_read

This is dead code; delete the function.
Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b735d73a
...@@ -624,12 +624,6 @@ static void bch2_readpages_end_io(struct bio *bio) ...@@ -624,12 +624,6 @@ static void bch2_readpages_end_io(struct bio *bio)
bio_put(bio); bio_put(bio);
} }
static inline void page_state_init_for_read(struct page *page)
{
SetPagePrivate(page);
page->private = 0;
}
struct readpages_iter { struct readpages_iter {
struct address_space *mapping; struct address_space *mapping;
struct page **pages; struct page **pages;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment