io_uring: drop redundant IO_MODE_OFFLOAD check
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 10 Jun 2021 15:55:39 +0000 (16:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 10 Jun 2021 22:40:49 +0000 (16:40 -0600)
commitdd4620b7f9171edaa10955c4826454a05af27c85
tree1b6a672207a9716cc3360751206e72c650deea0d
parent40d0b84220f7c0ff9c3874656db7f0f8cb6a85e6
io_uring: drop redundant IO_MODE_OFFLOAD check

check_engine_ops() already returns an error if io_submit_mode is
IO_MODE_OFFLOAD and the engine is marked FIO_NO_OFFLOAD.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c