]> git.baikalelectronics.ru Git - kernel.git/commit
block/partitions/atari: Remove redundant assignment
authorMichal Orzel <michalorzel.eng@gmail.com>
Sat, 23 Apr 2022 11:38:10 +0000 (13:38 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 23 Apr 2022 13:15:26 +0000 (07:15 -0600)
commita0d02b2a4284b59ddec3d8846f54d0a95f633a5f
treebc716ba8d25792cc0d93c50418ba4e8187a5165a
parentfb8da68eae8c931f5cbfab6b42296ef2e9e9f952
block/partitions/atari: Remove redundant assignment

Get rid of redundant assignment to a variable part_fmt from function
atari_partition. It is being assigned a value that is never read until
the end of function.

Reported by clang-tidy [deadcode.DeadStores]

Signed-off-by: Michal Orzel <michalorzel.eng@gmail.com>
Link: https://lore.kernel.org/r/20220423113811.13335-4-michalorzel.eng@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/partitions/atari.c