From d5c3be105af97c71bc2095ffd19343e4217abcd7 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Mon, 13 Sep 2021 14:09:01 -0600 Subject: [PATCH] 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 --- zbd.c | 1 - 1 file changed, 1 deletion(-) 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) { -- 2.25.1