io_uring: simplify io_alloc_req()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:40 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 15:18:37 +0000 (08:18 -0700)
commit4af5b0a53efa34d592055b81173bd836e366f303
treee91c8d8ecd3bffafb59105419c0f58ce8339a827
parente81099a62e8b2c34541f944c63e55e84c14536ad
io_uring: simplify io_alloc_req()

Get rid of a label in io_alloc_req(), it's cleaner to do return
directly.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c