diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/migrate.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/migrate.c b/mm/migrate.c index 0a75716cb736..60510306c44a 100644 --- a/mm/migrate.c +++ b/mm/migrate.c | |||
@@ -848,12 +848,6 @@ static int do_move_page_to_node_array(struct mm_struct *mm, | |||
848 | struct vm_area_struct *vma; | 848 | struct vm_area_struct *vma; |
849 | struct page *page; | 849 | struct page *page; |
850 | 850 | ||
851 | /* | ||
852 | * A valid page pointer that will not match any of the | ||
853 | * pages that will be moved. | ||
854 | */ | ||
855 | pp->page = ZERO_PAGE(0); | ||
856 | |||
857 | err = -EFAULT; | 851 | err = -EFAULT; |
858 | vma = find_vma(mm, pp->addr); | 852 | vma = find_vma(mm, pp->addr); |
859 | if (!vma || !vma_migratable(vma)) | 853 | if (!vma || !vma_migratable(vma)) |