git: a6b0c8d04d2a - main - epair: fix set but not used warning

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Sat, 07 May 2022 19:58:10 UTC
The branch main has been updated by kp:

URL: https://cgit.FreeBSD.org/src/commit/?id=a6b0c8d04d2a72b3b3b7cd4ad5251aa35ff6353e

commit a6b0c8d04d2a72b3b3b7cd4ad5251aa35ff6353e
Author:     Kristof Provost <kp@FreeBSD.org>
AuthorDate: 2022-05-07 14:00:42 +0000
Commit:     Kristof Provost <kp@FreeBSD.org>
CommitDate: 2022-05-07 16:17:32 +0000

    epair: fix set but not used warning
    
    If 'options RSS' is set.
    
    MFC after:      1 week
    Sponsored by:   Orange Business Services
---
 sys/net/if_epair.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c
index 37b12797426c..e9b056ef2bd6 100644
--- a/sys/net/if_epair.c
+++ b/sys/net/if_epair.c
@@ -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);