engines/rdma: remove dead code
authorJens Axboe <axboe@kernel.dk>
Wed, 10 May 2023 15:16:55 +0000 (09:16 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 May 2023 15:16:55 +0000 (09:16 -0600)
We can never reach this branch.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/rdma.c

index ee2844d323544be2b012245e08faf1e1d96342d4..ebdbcb1c808a524c5eff480ae70a8bc9109fcf40 100644 (file)
@@ -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);