iolog: remove 'td' from trim_io_piece()
[fio.git] / backend.c
index 4f88da0efe462616ab29aaf97044f74292f17431..151210a439ba303a18c995d11fa08baac1c3bec7 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -461,7 +461,7 @@ int io_queue_event(struct thread_data *td, struct io_u *io_u, int *ret,
                                *bytes_issued += bytes;
 
                        if (!from_verify)
-                               trim_io_piece(td, io_u);
+                               trim_io_piece(io_u);
 
                        /*
                         * zero read, fail