mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove a redundant check.
cpu_suspend_map is always empty if smp_started is false. Sponsored by: Netflix
This commit is contained in:
parent
2f9b9f9c7f
commit
b406166f66
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue