diff options
author | Michal Orzel <michalorzel.eng@gmail.com> | 2022-04-23 14:38:11 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-23 16:15:26 +0300 |
commit | e233fe1aa02815f38588a5a965a197bbcabfb125 (patch) | |
tree | 788bd13f4bd95f56c544c832cc400953cb1ac643 /fs/debugfs/Makefile | |
parent | 87420fa94f6cdd2ae8aa3e1d8602bfa549794fac (diff) | |
download | linux-e233fe1aa02815f38588a5a965a197bbcabfb125.tar.xz |
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 'fs/debugfs/Makefile')
0 files changed, 0 insertions, 0 deletions