]> git.lttng.org Git - userspace-rcu.git/commitdiff
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:35 +0000 (11:22 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I57eddb10fd90b680ee71966e6eb6a327d8c51063

src/workqueue.c

index 283a37132b88245734aed2631704b15bae99c3e4..3b7115356615576d80f309f3a103f9a350d964cb 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.029819 seconds and 4 git commands to generate.