mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-27 16:25:32 +08:00
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:
parent
b735d73a00
commit
96fee47e44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user