mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
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:
parent
bf7fcdb18a
commit
8fc2164b47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=343529
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user