summaryrefslogtreecommitdiffhomepage
path: root/src/queueing.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 03:54:28 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-08 18:51:34 +0200
commit2ae6cad8f509759e6ce8ca4e8a6c18ea5aabc605 (patch)
tree0c2b5d6796e2593e0fec676089f444707cd66035 /src/queueing.c
parent1027c1fb4493130ed9df96fd4092c4bf9c599b82 (diff)
global: more nits
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/queueing.c')
-rw-r--r--src/queueing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queueing.c b/src/queueing.c
index 939aac9..70e9394 100644
--- a/src/queueing.c
+++ b/src/queueing.c
@@ -15,7 +15,7 @@ wg_packet_alloc_percpu_multicore_worker(work_func_t function, void *ptr)
if (!worker)
return NULL;
- for_each_possible_cpu (cpu) {
+ for_each_possible_cpu(cpu) {
per_cpu_ptr(worker, cpu)->ptr = ptr;
INIT_WORK(&per_cpu_ptr(worker, cpu)->work, function);
}