summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2017-10-11 11:46:54 +0100
committerShaohua Li <shli@fb.com>2017-10-16 19:06:37 -0700
commita0e764c54382be8da96f83bcecc9cf26de3846dc (patch)
treee3bee83b7af781e5771e60e744e8d9f198141aff /drivers/md/raid5.c
parent935fe0983e09f4f7331ebf5ea4ae2124f6e9f9e8 (diff)
md: raid10: remove a couple of redundant variables and initializations
Variables dev and bio_last_sector are assigned values that are never read and hence these are redundant variables and can be removed. Also remove the duplicated initialization of sectors, the latter assignment is identical to the first and can be removed. Cleans up 3 clang build warnings: Value stored to 'dev' is never read Value stored to 'bio_last_sector' is never read Value stored to 'sectors' during its initialization is never read Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Shaohua Li <shli@fb.com>
Diffstat (limited to 'drivers/md/raid5.c')
0 files changed, 0 insertions, 0 deletions