From b406166f664417f55f3c170dd2436837bee7e091 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Tue, 5 Apr 2016 00:10:07 +0000 Subject: [PATCH] Remove a redundant check. cpu_suspend_map is always empty if smp_started is false. Sponsored by: Netflix --- sys/dev/xen/control/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/xen/control/control.c b/sys/dev/xen/control/control.c index 6a351d831ec..c7bd8c27b29 100644 --- a/sys/dev/xen/control/control.c +++ b/sys/dev/xen/control/control.c @@ -260,7 +260,7 @@ xctrl_suspend() #ifdef SMP /* Send an IPI_BITMAP in case there are pending bitmap IPIs. */ lapic_ipi_vectored(IPI_BITMAP_VECTOR, APIC_IPI_DEST_ALL); - if (smp_started && !CPU_EMPTY(&cpu_suspend_map)) { + if (!CPU_EMPTY(&cpu_suspend_map)) { /* * Now that event channels have been initialized, * resume CPUs.