aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJoonsoo Kim <iamjoonsoo.kim@lge.com>2014-01-21 18:51:18 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-21 19:19:49 -0500
commit78d5506e82b21a1a1de68c24182db2c2fe521422 (patch)
treed3a0632291ff79bc1118e68cbceb1d5e92350dab /include/linux
parent59c82b70dcd9cc273c21fae5abc29e41fc732a17 (diff)
mm/migrate: remove unused function, fail_migrate_page()
fail_migrate_page() isn't used anywhere, so remove it. Signed-off-by: Joonsoo Kim <iamjoonsoo.kim@lge.com> Acked-by: Christoph Lameter <cl@linux.com> Reviewed-by: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com> Reviewed-by: Wanpeng Li <liwanp@linux.vnet.ibm.com> Cc: Rafael Aquini <aquini@redhat.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Wanpeng Li <liwanp@linux.vnet.ibm.com> Cc: Mel Gorman <mgorman@suse.de> Cc: Rik van Riel <riel@redhat.com> Cc: Zhang Yanfei <zhangyanfei@cn.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/migrate.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index 2a411bc0097f..84a31ad0b791 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -41,9 +41,6 @@ extern int migrate_page(struct address_space *,
41extern int migrate_pages(struct list_head *l, new_page_t x, 41extern int migrate_pages(struct list_head *l, new_page_t x,
42 unsigned long private, enum migrate_mode mode, int reason); 42 unsigned long private, enum migrate_mode mode, int reason);
43 43
44extern int fail_migrate_page(struct address_space *,
45 struct page *, struct page *);
46
47extern int migrate_prep(void); 44extern int migrate_prep(void);
48extern int migrate_prep_local(void); 45extern int migrate_prep_local(void);
49extern int migrate_vmas(struct mm_struct *mm, 46extern int migrate_vmas(struct mm_struct *mm,
@@ -84,7 +81,6 @@ static inline int migrate_huge_page_move_mapping(struct address_space *mapping,
84 81
85/* Possible settings for the migrate_page() method in address_operations */ 82/* Possible settings for the migrate_page() method in address_operations */
86#define migrate_page NULL 83#define migrate_page NULL
87#define fail_migrate_page NULL
88 84
89#endif /* CONFIG_MIGRATION */ 85#endif /* CONFIG_MIGRATION */
90 86