summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRalph Campbell <rcampbell@nvidia.com>2020-10-14 02:58:39 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-14 04:38:35 +0300
commit4257889124cce4526ebf29329bae8794e97b455a (patch)
tree1acabdd37f205ed1fade266500a1972c2fd0ac2b /lib
parent67197a4f28d28d0b073ab0427b03cb2ee5382578 (diff)
downloadlinux-4257889124cce4526ebf29329bae8794e97b455a.tar.xz
mm/migrate: remove cpages-- in migrate_vma_finalize()
The variable struct migrate_vma->cpages is only used in migrate_vma_setup(). There is no need to decrement it in migrate_vma_finalize() since it is never checked. Signed-off-by: Ralph Campbell <rcampbell@nvidia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Cc: Jason Gunthorpe <jgg@nvidia.com> Cc: Jerome Glisse <jglisse@redhat.com> Cc: John Hubbard <jhubbard@nvidia.com> Cc: Christoph Hellwig <hch@lst.de> Link: http://lkml.kernel.org/r/20200827190735.12752-1-rcampbell@nvidia.com Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions