Remove a redundant test.

The existence of a PV entry for a mapping guarantees that the mapping
exists, so we should not need to test for that.

Reviewed by:	kib
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D18866
This commit is contained in:
Mark Johnston 2019-01-28 16:23:56 +00:00
parent bf7fcdb18a
commit 8fc2164b47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343529

View File

@ -2655,7 +2655,7 @@ restart:
}
}
l3 = pmap_l3(pmap, pv->pv_va);
if (l3 != NULL && (pmap_load(l3) & PTE_SW_WIRED) != 0)
if ((pmap_load(l3) & PTE_SW_WIRED) != 0)
count++;
PMAP_UNLOCK(pmap);
}