epair: fix set but not used warning

If 'options RSS' is set.

MFC after:	1 week
Sponsored by:	Orange Business Services
This commit is contained in:
Kristof Provost 2022-05-07 16:00:42 +02:00
parent 2f44ad86f5
commit a6b0c8d04d

View File

@ -805,14 +805,12 @@ epair_mod_init(void)
epair_tasks.tasks = 0;
#ifdef RSS
struct pcpu *pcpu;
int cpu;
CPU_FOREACH(cpu) {
cpuset_t cpu_mask;
/* Pin to this CPU so we get appropriate NUMA allocations. */
pcpu = pcpu_find(cpu);
thread_lock(curthread);
sched_bind(curthread, cpu);
thread_unlock(curthread);