summaryrefslogtreecommitdiffstats
path: root/mm/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'mm/internal.h')
-rw-r--r--mm/internal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/mm/internal.h b/mm/internal.h
index 059ad0115ec1..03654797a3a9 100644
--- a/mm/internal.h
+++ b/mm/internal.h
@@ -59,16 +59,6 @@ static inline void force_page_cache_readahead(struct address_space *mapping,
force_page_cache_ra(&ractl, nr_to_read);
}
-/*
- * Submit IO for the read-ahead request in file_ra_state.
- */
-static inline void ra_submit(struct file_ra_state *ra,
- struct address_space *mapping, struct file *file)
-{
- DEFINE_READAHEAD(ractl, file, mapping, ra->start);
- do_page_cache_ra(&ractl, ra->size, ra->async_size);
-}
-
struct page *find_get_entry(struct address_space *mapping, pgoff_t index);
struct page *find_lock_entry(struct address_space *mapping, pgoff_t index);