summaryrefslogtreecommitdiffstats
path: root/lib/test_lockup.c
diff options
context:
space:
mode:
authorMichal Orzel <michalorzel.eng@gmail.com>2022-04-23 13:38:07 +0200
committerJens Axboe <axboe@kernel.dk>2022-04-23 15:15:26 +0200
commit3de2e5f28cb133f1d9c1b2403079722d0e7b671e (patch)
treecedfc6b63d9e17f0cebd96e91f249ffb80a264c5 /lib/test_lockup.c
parentblock: change exported IO accounting interface from gendisk to bdev (diff)
downloadlinux-3de2e5f28cb133f1d9c1b2403079722d0e7b671e.tar.xz
linux-3de2e5f28cb133f1d9c1b2403079722d0e7b671e.zip
block/badblocks: Remove redundant assignments
Get rid of redundant assignments to a variable sectors from functions badblocks_check and badblocks_clear. This variable, that is a function parameter, 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-1-michalorzel.eng@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions