summaryrefslogtreecommitdiffstats
path: root/mm/hmm.c
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2019-07-26 02:56:50 +0200
committerJason Gunthorpe <jgg@mellanox.com>2019-07-26 17:35:29 +0200
commitcc374377a19d2a49d693997b62dc3a6f5fac6d61 (patch)
treeb0d11388ba858add42381d6945176dbff4d926a2 /mm/hmm.c
parentmm/hmm: remove hugetlbfs check in hmm_vma_walk_pmd (diff)
downloadlinux-cc374377a19d2a49d693997b62dc3a6f5fac6d61.tar.xz
linux-cc374377a19d2a49d693997b62dc3a6f5fac6d61.zip
mm/hmm: remove hmm_range vma
Since hmm_range_fault() doesn't use the struct hmm_range vma field, remove it. Link: https://lore.kernel.org/r/20190726005650.2566-8-rcampbell@nvidia.com Suggested-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'mm/hmm.c')
-rw-r--r--mm/hmm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/hmm.c b/mm/hmm.c
index 6111c0a3c12d..9a908902e4cc 100644
--- a/mm/hmm.c
+++ b/mm/hmm.c
@@ -1002,7 +1002,6 @@ long hmm_range_fault(struct hmm_range *range, unsigned int flags)
return -EPERM;
}
- range->vma = vma;
hmm_vma_walk.pgmap = NULL;
hmm_vma_walk.last = start;
hmm_vma_walk.flags = flags;