mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Eliminate a redundant bzero(). The l0 page table page was already zeroed
by efi_1t1_page(). MFC after: 1 week
This commit is contained in:
parent
605261992c
commit
e227f09282
1 changed files with 0 additions and 1 deletions
|
|
@ -176,7 +176,6 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int descsz)
|
|||
efi_l0_page = efi_1t1_page();
|
||||
VM_OBJECT_WUNLOCK(obj_1t1_pt);
|
||||
efi_l0 = (pd_entry_t *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(efi_l0_page));
|
||||
bzero(efi_l0, L0_ENTRIES * sizeof(*efi_l0));
|
||||
|
||||
for (i = 0, p = map; i < ndesc; i++, p = efi_next_descriptor(p,
|
||||
descsz)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue