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

block/partitions/acorn: Remove redundant assignments



Get rid of redundant assignments to a variable slot from function
adfspart_check_ADFS. It is being assigned a value that is never read
as we are breaking out from the switch case and the function ends.

Reported by clang-tidy [deadcode.DeadStores]

Signed-off-by: default avatarMichal Orzel <michalorzel.eng@gmail.com>
Link: https://lore.kernel.org/r/20220423113811.13335-3-michalorzel.eng@gmail.com


Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 7ab89db9
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