Home
last modified time | relevance | path

Searched hist:"7 ab89db9" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/block/
H A Dblk-map.c7ab89db9 Sat Apr 23 06:38:08 CDT 2022 Michal Orzel <michalorzel.eng@gmail.com> 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>