diff options
author | 2022-04-23 13:38:08 +0200 | |
---|---|---|
committer | 2022-04-23 07:15:26 -0600 | |
commit | 7ab89db979017255c2163880de5c63d8c9726aef (patch) | |
tree | 72f26cc2ca713b3b5b35436292a03baf2cdc77eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block/badblocks: Remove redundant assignments (diff) | |
download | linux-dev-7ab89db979017255c2163880de5c63d8c9726aef.tar.xz linux-dev-7ab89db979017255c2163880de5c63d8c9726aef.zip |
block/blk-map: Remove redundant assignment
Get rid of redundant assignment to a variable ret from function
bio_map_user_iov as it is being assigned a value that is never read.
It is being re-assigned in the first instruction after the while loop
Reported by clang-tidy [deadcode.DeadStores]
Signed-off-by: Michal Orzel <michalorzel.eng@gmail.com>
Link: https://lore.kernel.org/r/20220423113811.13335-2-michalorzel.eng@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