From: Mathieu Desnoyers Date: Mon, 27 Jun 2022 15:22:08 +0000 (-0400) Subject: Fix: workqueue: remove unused variable "ret" X-Git-Tag: v0.13.2~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b8359af6329d387a6ebb411acb85924b4d1be625;p=userspace-rcu.git Fix: workqueue: remove unused variable "ret" Signed-off-by: Mathieu Desnoyers Change-Id: I57eddb10fd90b680ee71966e6eb6a327d8c51063 --- diff --git a/src/workqueue.c b/src/workqueue.c index 283a371..3b71153 100644 --- a/src/workqueue.c +++ b/src/workqueue.c @@ -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) {