]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: remove extra checks in send/recv
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 16 Jul 2020 20:28:00 +0000 (23:28 +0300)
committerJens Axboe <axboe@kernel.dk>
Fri, 24 Jul 2020 19:00:45 +0000 (13:00 -0600)
commit4881aa234a9b13eb7cdb623bf02a9229eec093dd
tree9974c4940f0f00bfee24f609848ee79a16827d4a
parent553f907fb003f63598228275cc091a8ca89eeb1b
io_uring: remove extra checks in send/recv

With the return on a bad socket, kmsg is always non-null by the end
of the function, prune left extra checks and initialisations.

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