mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
vmm: Collapse identical case statements in vlapic_icrlo_write_handler()
No functional change intended. Reviewed by: jhb, corvink MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38446
This commit is contained in:
parent
78919798e7
commit
f3bbd0e818
1 changed files with 0 additions and 16 deletions
|
|
@ -1118,22 +1118,6 @@ vlapic_icrlo_write_handler(struct vlapic *vlapic, bool *retu)
|
|||
|
||||
break;
|
||||
case APIC_DELMODE_INIT:
|
||||
if (!vlapic->ipi_exit) {
|
||||
if (!phys)
|
||||
break;
|
||||
|
||||
i = vm_apicid2vcpuid(vlapic->vm, dest);
|
||||
if (i >= vm_get_maxcpus(vlapic->vm) ||
|
||||
i == vlapic->vcpuid)
|
||||
break;
|
||||
|
||||
CPU_SETOF(i, &ipimask);
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
CPU_COPY(&dmask, &ipimask);
|
||||
break;
|
||||
case APIC_DELMODE_STARTUP:
|
||||
if (!vlapic->ipi_exit) {
|
||||
if (!phys)
|
||||
|
|
|
|||
Loading…
Reference in a new issue