mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
arm64 pmap: Eliminate an unnecessary conditional
Eliminate an unnecessary test whether a pointer is non-NULL from pmap_bti_same(). Reviewed by: dougm
This commit is contained in:
parent
cab41e0dd3
commit
98dd639c94
@ -9396,7 +9396,6 @@ pmap_bti_same(pmap_t pmap, vm_offset_t sva, vm_offset_t eva, pt_entry_t *pte)
|
||||
return (false);
|
||||
rs = next_rs;
|
||||
}
|
||||
if (rs != NULL)
|
||||
*pte |= ATTR_S1_GP;
|
||||
return (true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user