mm: drop vm_ops->remap_pages and generic_file_remap_pages() stub

Nobody uses it anymore.

[[email protected]: fix filemap_xip.c]
Signed-off-by: Kirill A. Shutemov <[email protected]>
Cc: Wu Fengguang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
Kirill A. Shutemov 2015-02-10 14:09:54 -08:00 • committed by Linus Torvalds
commit d83a08db5b
18 changed files with 0 additions and 26 deletions

View file

@ -2087,7 +2087,6 @@ const struct vm_operations_struct generic_file_vm_ops = {
.fault = filemap_fault,
.map_pages = filemap_map_pages,
.page_mkwrite = filemap_page_mkwrite,
.remap_pages = generic_file_remap_pages,
};
/* This is used for a general mmap of a disk file */