Skip to content

Commit

Permalink
engines/rdma: remove dead code
Browse files Browse the repository at this point in the history
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 <preichl@redhat.com>
  • Loading branch information
preichl committed Dec 15, 2023
1 parent 4e472f8 commit 922ce62
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion engines/rdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 922ce62

Please sign in to comment.