diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2020-07-02 18:11:40 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2020-07-08 18:11:21 +0300 |
commit | ce34c9b461b50001892b0b348e024d2275014ede (patch) | |
tree | 3f0f4cafdbe84905f8632876deed2057615bb92d /drivers/md/dm-target.c | |
parent | a46624580376a3a0beb218d94cbc7f258696e29f (diff) | |
download | linux-ce34c9b461b50001892b0b348e024d2275014ede.tar.xz |
dm zoned: fix unused but set variable warnings
Fix unused but set variable warnings:
drivers/md/dm-zoned-reclaim.c:504:42: warning:
variable nr_rnd set but not used [-Wunused-but-set-variable]
504 | unsigned int p_unmap, nr_unmap_rnd = 0, nr_rnd = 0;
| ^~~~~~
drivers/md/dm-zoned-reclaim.c:504:24: warning:
variable nr_unmap_rnd set but not used [-Wunused-but-set-variable]
504 | unsigned int p_unmap, nr_unmap_rnd = 0, nr_rnd = 0;
| ^~~~~~~~~~~~
Fixes: f97809aec589 ("dm zoned: per-device reclaim")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-target.c')
0 files changed, 0 insertions, 0 deletions