diff options
| author | Pavel Begunkov <[email protected]> | 2020-06-29 13:13:00 +0300 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-06-30 08:39:57 -0600 |
| commit | 9b5f7bd93272689ec8dc2cfd40a812265c23414e (patch) | |
| tree | 77f109b020cbd66d91af4b6e0a97a934ee1a004a /tools/perf/scripts/python | |
| parent | 7c86ffeeed303187f266ed17bd87a9b375955709 (diff) | |
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 <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions