io_uring/rw: remove dead file == NULL check
authorJens Axboe <axboe@kernel.dk>
Mon, 29 Jan 2024 03:52:21 +0000 (20:52 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Feb 2024 20:27:06 +0000 (13:27 -0700)
commit949249e25f1098315a971b70b893c1a2e2e4a819
tree04daab1c1e2584b01b3872cbf30ed94ef5f1ba12
parent4caa74fdce7d59582b3e3f95b718b47e043f276e
io_uring/rw: remove dead file == NULL check

Any read/write opcode has needs_file == true, which means that we
would've failed the request long before reaching the issue stage if we
didn't successfully assign a file. This check has been dead forever,
and is really a leftover from generic code.

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