summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-09-13 14:09:01 -0600
committerJens Axboe <axboe@kernel.dk>2021-09-13 14:09:01 -0600
commitd5c3be105af97c71bc2095ffd19343e4217abcd7 (patch)
treee6422ba767110e52c06b70cf6c92ffedc3f4bf0e
parent0862f7185bec63bfb780bd0c9c2e95c62eb5e28e (diff)
downloadfio-d5c3be105af97c71bc2095ffd19343e4217abcd7.tar.gz
fio-d5c3be105af97c71bc2095ffd19343e4217abcd7.tar.bz2
zbd: remove dead zone retrieval call
A previous commit missed to realize that not only was the assignment useless, that also made the very call to zbd_zone_nr() useless as well. Remove it. Fixes: 000ecb5fe36d ("zbd: Removing useless variable assignment") Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--zbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/zbd.c b/zbd.c
index dd1abc58..64415d2b 100644
--- a/zbd.c
+++ b/zbd.c
@@ -1857,7 +1857,6 @@ enum io_u_action zbd_adjust_block(struct thread_data *td, struct io_u *io_u)
f->file_name);
goto eof;
}
- zbd_zone_nr(f, zb);
}
/* Check whether the zone reset threshold has been exceeded */
if (td->o.zrf.u.f) {