Author: jhb
Date: Tue Apr  5 00:09:19 2016
New Revision: 297569
URL: https://svnweb.freebsd.org/changeset/base/297569

Log:
  Remove an unneeded check.
  
  CPUs with valid per-CPU data are not absent.
  
  Sponsored by: Netflix

Modified:
  head/sys/net/netisr.c

Modified: head/sys/net/netisr.c
==============================================================================
--- head/sys/net/netisr.c       Tue Apr  5 00:08:42 2016        (r297568)
+++ head/sys/net/netisr.c       Tue Apr  5 00:09:19 2016        (r297569)
@@ -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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to