diff options
author | 2020-06-29 13:13:00 +0300 | |
---|---|---|
committer | 2020-06-30 08:39:57 -0600 | |
commit | 9b5f7bd93272689ec8dc2cfd40a812265c23414e (patch) | |
tree | 77f109b020cbd66d91af4b6e0a97a934ee1a004a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | io_uring: deduplicate freeing linked timeouts (diff) | |
download | wireguard-linux-9b5f7bd93272689ec8dc2cfd40a812265c23414e.tar.xz wireguard-linux-9b5f7bd93272689ec8dc2cfd40a812265c23414e.zip |
io_uring: replace find_next() out param with ret
Generally, it's better to return a value directly than having out
parameter. It's cleaner and saves from some kinds of ugly bugs.
May also be faster.
Return next request from io_req_find_next() and friends directly
instead of passing out parameter.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions