From: Jens Axboe Date: Wed, 10 May 2023 15:16:55 +0000 (-0600) Subject: engines/rdma: remove dead code X-Git-Tag: fio-3.35~15 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=37946bed31b688fe55e2003b6d59ff0c964165bb;p=fio.git engines/rdma: remove dead code We can never reach this branch. Signed-off-by: Jens Axboe --- 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);