From 37946bed31b688fe55e2003b6d59ff0c964165bb Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Wed, 10 May 2023 09:16:55 -0600 Subject: [PATCH] engines/rdma: remove dead code We can never reach this branch. Signed-off-by: Jens Axboe --- engines/rdma.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/engines/rdma.c b/engines/rdma.c index ee2844d3..ebdbcb1c 100644 --- a/engines/rdma.c +++ b/engines/rdma.c @@ -856,8 +856,6 @@ static int fio_rdmaio_commit(struct thread_data *td) ret = fio_rdmaio_send(td, io_us, rd->io_u_queued_nr); else if (!rd->is_client) ret = fio_rdmaio_recv(td, io_us, rd->io_u_queued_nr); - else - ret = 0; /* must be a SYNC */ if (ret > 0) { fio_rdmaio_queued(td, io_us, ret); -- 2.25.1