diff options
author | 2020-07-02 23:11:40 +0800 | |
---|---|---|
committer | 2020-07-08 11:11:21 -0400 | |
commit | ce34c9b461b50001892b0b348e024d2275014ede (patch) | |
tree | 3f0f4cafdbe84905f8632876deed2057615bb92d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dm writecache: reject asynchronous pmem devices (diff) | |
download | linux-dev-ce34c9b461b50001892b0b348e024d2275014ede.tar.xz linux-dev-ce34c9b461b50001892b0b348e024d2275014ede.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions