engines/io_uring: use correct type for fio_nvme_get_info()
[fio.git] / dedupe.c
index 8214a786b04800a6848a706437a77aafa6a27c3e..61705689184d84fae5ca9d422e17622c28822924 100644 (file)
--- a/dedupe.c
+++ b/dedupe.c
@@ -7,16 +7,13 @@
  */
 int init_global_dedupe_working_set_seeds(void)
 {
-       int i;
-       struct thread_data *td;
-
-       for_each_td(td, i) {
+       for_each_td(td) {
                if (!td->o.dedupe_global)
                        continue;
 
                if (init_dedupe_working_set_seeds(td, 1))
                        return 1;
-       }
+       } end_for_each();
 
        return 0;
 }