riscv: remove a redundant MPASS test in _pmap_unwire_ptp()

It is guaranteed by the else if condition.

Reviewed by:	mhorne
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1355
This commit is contained in:
Wuyang Chung 2024-08-02 14:28:46 +08:00 committed by Mitchell Horne
parent f62c1f3f8e
commit 05cf677bb8

View file

@ -1464,7 +1464,6 @@ _pmap_unwire_ptp(pmap_t pmap, vm_offset_t va, vm_page_t m, struct spglist *free)
pd_entry_t *l0;
vm_page_t pdpg;
MPASS(pmap_mode != PMAP_MODE_SV39);
l0 = pmap_l0(pmap, va);
pdpg = PTE_TO_VM_PAGE(pmap_load(l0));
pmap_unwire_ptp(pmap, va, pdpg, free);