]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: cleanup return values from the queueing functions
authorJens Axboe <axboe@kernel.dk>
Fri, 15 Nov 2019 04:42:10 +0000 (21:42 -0700)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Nov 2019 02:48:31 +0000 (19:48 -0700)
commit3a41a812acd15099c949bf792c7df7f5b73b09d2
tree7e4e7597db34a4745dacdcdbcb4932b469b4f9ec
parentdd20f558cf98f02d2e9967783df6477d63cabc37
io_uring: cleanup return values from the queueing functions

__io_queue_sqe(), io_queue_sqe(), io_queue_link_head() all return 0/err,
but the caller doesn't care since the errors are handled inline. Clean
these up and just make them void.

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