iolog: remove 'td' from trim_io_piece()
[fio.git] / iolog.c
diff --git a/iolog.c b/iolog.c
index 6e44119ca28446cec7dee661f3afa89db71547e9..d7474724f0d140cd4e66b5136f47aedb2002ddcd 100644 (file)
--- a/iolog.c
+++ b/iolog.c
@@ -315,7 +315,7 @@ void unlog_io_piece(struct thread_data *td, struct io_u *io_u)
        td->io_hist_len--;
 }
 
        td->io_hist_len--;
 }
 
-void trim_io_piece(struct thread_data *td, const struct io_u *io_u)
+void trim_io_piece(const struct io_u *io_u)
 {
        struct io_piece *ipo = io_u->ipo;
 
 {
        struct io_piece *ipo = io_u->ipo;