aboutsummaryrefslogtreecommitdiffstats
path: root/mm/migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/migrate.c')
-rw-r--r--mm/migrate.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/migrate.c b/mm/migrate.c
index 6a207e8d17ea..4ee4ccacf986 100644
--- a/mm/migrate.c
+++ b/mm/migrate.c
@@ -115,11 +115,6 @@ int putback_lru_pages(struct list_head *l)
115 return count; 115 return count;
116} 116}
117 117
118static inline int is_swap_pte(pte_t pte)
119{
120 return !pte_none(pte) && !pte_present(pte) && !pte_file(pte);
121}
122
123/* 118/*
124 * Restore a potential migration pte to a working pte entry 119 * Restore a potential migration pte to a working pte entry
125 */ 120 */