]> git.baikalelectronics.ru Git - kernel.git/commit
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, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commit49b087efb50847eb112e102945617b2255674cb5
treeed85002f3393bdda7bb366589a3827cc945037b7
parent4f5cd4d488d7ca9c11651367a24a202317339ac8
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