Remove an unneeded check.

CPUs with valid per-CPU data are not absent.

Sponsored by:	Netflix
This commit is contained in:
John Baldwin 2016-04-05 00:09:19 +00:00
parent 25f9805707
commit 2f9b9f9c7f

View File

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