summaryrefslogtreecommitdiff
path: root/block/fops.c
diff options
context:
space:
mode:
authorMichal Orzel <michalorzel.eng@gmail.com>2022-04-23 13:38:11 +0200
committerJens Axboe <axboe@kernel.dk>2022-04-23 07:15:26 -0600
commite233fe1aa02815f38588a5a965a197bbcabfb125 (patch)
tree788bd13f4bd95f56c544c832cc400953cb1ac643 /block/fops.c
parent87420fa94f6cdd2ae8aa3e1d8602bfa549794fac (diff)
block/partitions/ldm: Remove redundant assignments
Get rid of the following redundant assignments: - to a variable r_cols from function ldm_parse_cmp3 - to variables r_id1 and r_id2 from functions ldm_parse_dgr3 and ldm_parse_dgr4 - to a variable r_index from function ldm_parse_prt3 that end up in values not being 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-5-michalorzel.eng@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/fops.c')
0 files changed, 0 insertions, 0 deletions