From: Mathieu Desnoyers Date: Mon, 27 Jun 2022 15:22:08 +0000 (-0400) Subject: Fix: workqueue: remove unused variable "ret" X-Git-Tag: v0.12.4~10 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=becacd5ac79ec6d8196d682798f1b5ad269737bc;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 1e0cbba..46b0972 100644 --- a/src/workqueue.c +++ b/src/workqueue.c @@ -132,8 +132,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) {