Searched hist:"7 ab89db979017255c2163880de5c63d8c9726aef" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/block/ |
H A D | blk-map.c | diff 7ab89db979017255c2163880de5c63d8c9726aef 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>
|