OSDN Git Service

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)
commit9b53122f616a74ddbbd6c97a3c8294c631a13d15
tree8735e502f111de9bfc1cd3300dc38db8e8a747cc
parentbfe18a0900f1188e323d3f2c3cd2d6dfe2d0789c
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