diff options
author | Nghia Le <nghialm78@gmail.com> | 2021-11-03 02:05:21 +0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-11-02 14:29:12 -0600 |
commit | 83956c86fffe0465408c7d62e925d88748075e00 (patch) | |
tree | f0c2a915ce40db036646649661fce2eacdeb5362 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 71c9ce27bb57c59d8d7f5298e730c8096eef3d1f (diff) | |
download | linux-83956c86fffe0465408c7d62e925d88748075e00.tar.gz linux-83956c86fffe0465408c7d62e925d88748075e00.tar.bz2 linux-83956c86fffe0465408c7d62e925d88748075e00.zip |
io_uring: remove redundant assignment to ret in io_register_iowq_max_workers()
After the assignment, only exit path with label 'err' uses ret as
return value. However,before exiting through this path with label 'err',
ret is assigned with the return value of io_wq_max_workers(). Hence, the
initial assignment is redundant and can be removed.
Signed-off-by: Nghia Le <nghialm78@gmail.com>
Link: https://lore.kernel.org/r/20211102190521.28291-1-nghialm78@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions