• Wei Yongjun's avatar
    dm zoned: fix unused but set variable warnings · ce34c9b4
    Wei Yongjun authored
    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: f97809ae ("dm zoned: per-device reclaim")
    Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    ce34c9b4
dm-zoned-reclaim.c 14.8 KB