diff options
author | Ralph Campbell | 2019-07-25 17:56:50 -0700 |
---|---|---|
committer | Jason Gunthorpe | 2019-07-26 12:35:29 -0300 |
commit | cc374377a19d2a49d693997b62dc3a6f5fac6d61 (patch) | |
tree | b0d11388ba858add42381d6945176dbff4d926a2 /mm/hmm.c | |
parent | f527688d5d8a80d2d1b2c02779105747c2f4f705 (diff) |
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; |