diff options
author | Ralph Campbell <rcampbell@nvidia.com> | 2019-07-26 02:56:50 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-07-26 17:35:29 +0200 |
commit | cc374377a19d2a49d693997b62dc3a6f5fac6d61 (patch) | |
tree | b0d11388ba858add42381d6945176dbff4d926a2 /mm/hmm.c | |
parent | mm/hmm: remove hugetlbfs check in hmm_vma_walk_pmd (diff) | |
download | linux-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |