projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecace1d
)
zbd: Removing useless variable assignment
author
Erwan Velu
<erwanaliasr1@gmail.com>
Wed, 8 Sep 2021 21:00:45 +0000
(23:00 +0200)
committer
Erwan Velu
<erwanaliasr1@gmail.com>
Wed, 8 Sep 2021 21:31:00 +0000
(23:31 +0200)
zone_idx_b is set but never read again.
Signed-off-by: Erwan Velu <erwanaliasr1@gmail.com>
zbd.c
patch
|
blob
|
blame
|
history
diff --git
a/zbd.c
b/zbd.c
index 1b933ce436d39633b31525b7ea31797d6bdf440b..dd1abc58a6d4d882d41805b8682550c9bf36daad 100644
(file)
--- a/
zbd.c
+++ b/
zbd.c
@@
-1857,7
+1857,7
@@
enum io_u_action zbd_adjust_block(struct thread_data *td, struct io_u *io_u)
f->file_name);
goto eof;
}
- z
one_idx_b = z
bd_zone_nr(f, zb);
+ zbd_zone_nr(f, zb);
}
/* Check whether the zone reset threshold has been exceeded */
if (td->o.zrf.u.f) {