diff options
| author | Pavel Begunkov <[email protected]> | 2020-06-29 19:18:40 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-30 08:39:59 -0600 |
| commit | 351fd53595a3ceb88756a005e3b864f7c8cb86e4 (patch) | |
| tree | 4b5f1bb03d48101532584406660fbde384705587 /tools/perf/scripts/python | |
| parent | ecfc51777487da4da530710e0b13de4c8cb4a6d2 (diff) | |
io_uring: don't pass def into io_req_work_grab_env
Remove struct io_op_def *def parameter from io_req_work_grab_env(),
it's trivially deducible from req->opcode and fast. The API is
cleaner this way, and also helps the complier to understand
that it's a real constant and could be register-cached.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions