From 922ce62e387ee4158bf61e08c25ef1ce8b359600 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Fri, 15 Dec 2023 18:43:16 +0100 Subject: [PATCH] engines/rdma: remove dead code The issues was found by Red Hat's OpenScanHub: fio-3.35/engines/rdma.c:279:3: warning[deadcode.DeadStores]: Value stored to 'ret' is never read Signed-off-by: Pavel Reichl --- engines/rdma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/engines/rdma.c b/engines/rdma.c index ebdbcb1c80..07336f3b88 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -276,7 +276,6 @@ static int cq_event_handler(struct thread_data *td, enum ibv_wc_opcode opcode) int i; while ((ret = ibv_poll_cq(rd->cq, 1, &wc)) == 1) { - ret = 0; compevnum++; if (wc.status) {