summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/mmap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mm/mmap.c b/mm/mmap.c
index 5212a0b66b8f..5fbc7d71d60c 100644
--- a/mm/mmap.c
+++ b/mm/mmap.c
@@ -2459,8 +2459,6 @@ do_vmi_align_munmap(struct vma_iterator *vmi, struct vm_area_struct *vma,
}
prev = vma_prev(vmi);
- if (unlikely((!prev)))
- vma_iter_set(vmi, start);
/*
* Detach a range of VMAs from the mm. Using next as a temp variable as