Remove an unneeded check.
CPUs with valid per-CPU data are not absent. Sponsored by: Netflix
This commit is contained in:
parent
25f9805707
commit
2f9b9f9c7f
@ -1167,9 +1167,6 @@ netisr_start(void *arg)
|
||||
STAILQ_FOREACH(pc, &cpuhead, pc_allcpu) {
|
||||
if (nws_count >= netisr_maxthreads)
|
||||
break;
|
||||
/* XXXRW: Is skipping absent CPUs still required here? */
|
||||
if (CPU_ABSENT(pc->pc_cpuid))
|
||||
continue;
|
||||
/* Worker will already be present for boot CPU. */
|
||||
if (pc->pc_netisr != NULL)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user