io_uring: cleanup io_req_complete_post()
authorJens Axboe <axboe@kernel.dk>
Wed, 7 Feb 2024 14:51:53 +0000 (07:51 -0700)
committerJens Axboe <axboe@kernel.dk>
Thu, 8 Feb 2024 20:27:06 +0000 (13:27 -0700)
commit4caa74fdce7d59582b3e3f95b718b47e043f276e
treeddffa3628439514ba4de53ec5c4e5a6b7f72c436
parentbfe30bfde279529011161a60e5a7ca4be83de422
io_uring: cleanup io_req_complete_post()

Move the ctx declaration and assignment up to be generally available
in the function, as we use req->ctx at the top anyway.

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