mirror of
https://github.com/opnsense/src.git
synced 2026-06-12 18:20:49 -04:00
arm64 pmap: Eliminate an unnecessary NULL check
The return value from pmap_l1_to_l2() cannot be NULL.
This commit is contained in:
parent
a5b0b2a7d4
commit
51c8cd7e1a
1 changed files with 0 additions and 3 deletions
|
|
@ -4210,9 +4210,6 @@ pmap_remove1(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, bool map_delete)
|
|||
va_next = eva;
|
||||
|
||||
l2 = pmap_l1_to_l2(l1, sva);
|
||||
if (l2 == NULL)
|
||||
continue;
|
||||
|
||||
l3_paddr = pmap_load(l2);
|
||||
|
||||
if ((l3_paddr & ATTR_DESCR_MASK) == L2_BLOCK) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue