mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
206aefde4f
commit
a197f664a0
1 changed files with 56 additions and 52 deletions
108
fs/io_uring.c
108
fs/io_uring.c
Loading…
Add table
Add a link
Reference in a new issue