Skip to content
Commit 7ab89db9 authored by Michal Orzel's avatar Michal Orzel Committed by Jens Axboe
Browse files

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: default avatarMichal Orzel <michalorzel.eng@gmail.com>
Link: https://lore.kernel.org/r/20220423113811.13335-2-michalorzel.eng@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 3de2e5f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment