io_uring: remove passed in 'ctx' function parameter ctx if possible
authorJackie Liu <liuyun01@kylinos.cn>
Fri, 8 Nov 2019 15:09:12 +0000 (08:09 -0700)
committerJens Axboe <axboe@kernel.dk>
Mon, 11 Nov 2019 03:29:49 +0000 (20:29 -0700)
commita197f664a0db8a6219d9ce949f5f29b89f60fb2b
treec454655d6056d2d0631d9f9b9f870aa24e46bb88
parent206aefde4f886fdeb3b6339aacab3a85fb74cb7e
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>
fs/io_uring.c