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:
Mark Johnston 2023-02-09 15:49:40 -05:00
parent 78919798e7
commit f3bbd0e818

View file

@ -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)