From: Mathieu Desnoyers Date: Mon, 27 Jun 2022 15:22:08 +0000 (-0400) Subject: Fix: workqueue: remove unused variable "ret" X-Git-Tag: v0.14.0~25 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7c40d7f5b2139ec9151daf8410b6b934234220d5;p=urcu.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 c9f03b5..b6361ad 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) {