Fix: workqueue: remove unused variable "ret"
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jun 2022 15:22:08 +0000 (11:22 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jun 2022 15:22:08 +0000 (11:22 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I57eddb10fd90b680ee71966e6eb6a327d8c51063

src/workqueue.c

index c9f03b56fbb3ac85c58e5ef21330e03d0377d340..b6361adafb5b97f2116ac9b864111c8cc2a55d92 100644 (file)
@@ -129,8 +129,6 @@ static int set_thread_cpu_affinity(struct urcu_workqueue *workqueue __attribute_
 
 static void futex_wait(int32_t *futex)
 {
-       int ret;
-
        /* Read condition before read futex */
        cmm_smp_mb();
        while (uatomic_read(futex) == -1) {
This page took 0.026072 seconds and 4 git commands to generate.