]> git.baikalelectronics.ru Git - kernel.git/commit
lib/test_hmm.c: remove unused dmirror_zero_page
authorRalph Campbell <rcampbell@nvidia.com>
Tue, 13 Oct 2020 23:54:32 +0000 (16:54 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 14 Oct 2020 01:38:32 +0000 (18:38 -0700)
commitbe7e724f70a4ffbe64234af59ea847a5392d310f
tree8735e502f111de9bfc1cd3300dc38db8e8a747cc
parent1d90d9bb371469a36b1aee4da55ec71773af9357
lib/test_hmm.c: remove unused dmirror_zero_page

The variable dmirror_zero_page is unused in the HMM self test driver which
was probably intended to demonstrate how a driver could use
migrate_vma_setup() to share a single read-only device private zero page
similar to how the CPU does.  However, this isn't needed for the self
tests so remove it.

Signed-off-by: Ralph Campbell <rcampbell@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Cc: Jerome Glisse <jglisse@redhat.com>
Link: https://lkml.kernel.org/r/20200914213801.16520-1-rcampbell@nvidia.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/test_hmm.c