commit | a197f664a0db8a6219d9ce949f5f29b89f60fb2b | [log] [tgz] |
---|---|---|
author | Jackie Liu <liuyun01@kylinos.cn> | Fri Nov 08 08:09:12 2019 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Nov 10 20:29:49 2019 -0700 |
tree | c454655d6056d2d0631d9f9b9f870aa24e46bb88 | |
parent | 206aefde4f886fdeb3b6339aacab3a85fb74cb7e [diff] |
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>