diff options
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r-- | mm/swapfile.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index e3b1362372c2..fbceed67a075 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -618,15 +618,6 @@ static int unuse_mm(struct mm_struct *mm, | |||
618 | return 0; | 618 | return 0; |
619 | } | 619 | } |
620 | 620 | ||
621 | #ifdef CONFIG_MIGRATION | ||
622 | int remove_vma_swap(struct vm_area_struct *vma, struct page *page) | ||
623 | { | ||
624 | swp_entry_t entry = { .val = page_private(page) }; | ||
625 | |||
626 | return unuse_vma(vma, entry, page); | ||
627 | } | ||
628 | #endif | ||
629 | |||
630 | /* | 621 | /* |
631 | * Scan swap_map from current position to next entry still in use. | 622 | * Scan swap_map from current position to next entry still in use. |
632 | * Recycle to start on reaching the end, returning 0 when empty. | 623 | * Recycle to start on reaching the end, returning 0 when empty. |