Skip to content
Commit a197f664 authored by Jackie Liu's avatar Jackie Liu Committed by Jens Axboe
Browse files

io_uring: remove passed in 'ctx' function parameter ctx if possible



Many times, the core of the function is req, and req has already set
req->ctx at initialization time, so there is no need to pass in the
ctx from the caller.

Cleanup, no functional change.

Signed-off-by: default avatarJackie Liu <liuyun01@kylinos.cn>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 206aefde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment