mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 08:31:13 +00:00
pktgen: remove unused variable
pktgen_thread_worker() no longer needs wait variable, delete it.
Fixes: ef87979c27
("pktgen: better scheduler friendliness")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
79a58c06c2
commit
20e7b9f82b
1 changed files with 0 additions and 1 deletions
|
@ -3602,7 +3602,6 @@ out:
|
||||||
|
|
||||||
static int pktgen_thread_worker(void *arg)
|
static int pktgen_thread_worker(void *arg)
|
||||||
{
|
{
|
||||||
DEFINE_WAIT(wait);
|
|
||||||
struct pktgen_thread *t = arg;
|
struct pktgen_thread *t = arg;
|
||||||
struct pktgen_dev *pkt_dev = NULL;
|
struct pktgen_dev *pkt_dev = NULL;
|
||||||
int cpu = t->cpu;
|
int cpu = t->cpu;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue