diff options
| author | Pavel Begunkov <[email protected]> | 2019-11-21 20:21:02 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2019-11-26 02:56:11 +0000 |
| commit | b18fdf71e01fba29a804d63f8c1e2ed61011170d (patch) | |
| tree | 6c21e94fb6a08a4d67b37e77ebcc5cd700fd5f5b /tools/perf/scripts/python/intel-pt-events.py | |
| parent | io_uring: pass only !null to io_req_find_next() (diff) | |
| download | kernel-b18fdf71e01fba29a804d63f8c1e2ed61011170d.tar.gz kernel-b18fdf71e01fba29a804d63f8c1e2ed61011170d.zip | |
io_uring: simplify io_req_link_next()
"if (nxt)" is always true, as it was checked in the while's condition.
io_wq_current_is_worker() is unnecessary, as non-async callers don't
pass nxt, so io_queue_async_work() will be called for them anyway.
Signed-off-by: Pavel Begunkov <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
