aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mm/mempolicy.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mm/mempolicy.c b/mm/mempolicy.c
index e09b1a0e2cfe..c947014d128a 100644
--- a/mm/mempolicy.c
+++ b/mm/mempolicy.c
@@ -894,11 +894,6 @@ static long do_get_mempolicy(int *policy, nodemask_t *nmask,
894 *policy |= (pol->flags & MPOL_MODE_FLAGS); 894 *policy |= (pol->flags & MPOL_MODE_FLAGS);
895 } 895 }
896 896
897 if (vma) {
898 up_read(&current->mm->mmap_sem);
899 vma = NULL;
900 }
901
902 err = 0; 897 err = 0;
903 if (nmask) { 898 if (nmask) {
904 if (mpol_store_user_nodemask(pol)) { 899 if (mpol_store_user_nodemask(pol)) {