mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 09:11:07 -04:00
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:
parent
f62c1f3f8e
commit
05cf677bb8
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue