diff options
author | David Wei <dw@davidwei.uk> | 2024-12-06 16:41:44 -0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-12-23 08:20:10 -0700 |
commit | 2e6406a20a3999cc761a5a697a9afa7de40713e6 (patch) | |
tree | 9f41d45be9a8d8b2bbcd8044516f5ed20daa7177 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | febfbf767174b8a027efb7aa434f9a9416adc23d (diff) |
io_uring: clean up io_prep_rw_setup()
Remove unnecessary call to iov_iter_save_state() in io_prep_rw_setup()
as io_import_iovec() already does this. Then the result from
io_import_iovec() can be returned directly.
Signed-off-by: David Wei <dw@davidwei.uk>
Reviewed-by: Anuj Gupta <anuj20.g@samsung.com>
Tested-by: Li Zetao <lizetao1@huawei.com>
Link: https://lore.kernel.org/r/20241207004144.783631-1-dw@davidwei.uk
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions