diff options
author | Colin Ian King <colin.king@canonical.com> | 2017-10-11 12:46:54 +0200 |
---|---|---|
committer | Shaohua Li <shli@fb.com> | 2017-10-17 04:06:37 +0200 |
commit | a0e764c54382be8da96f83bcecc9cf26de3846dc (patch) | |
tree | e3bee83b7af781e5771e60e744e8d9f198141aff /kernel/backtracetest.c | |
parent | md: rename some drivers/md/ files to have an "md-" prefix (diff) | |
download | linux-a0e764c54382be8da96f83bcecc9cf26de3846dc.tar.xz linux-a0e764c54382be8da96f83bcecc9cf26de3846dc.zip |
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 'kernel/backtracetest.c')
0 files changed, 0 insertions, 0 deletions