X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnull.c;h=bf7885e92187e68488c3c5109ca52ed77cd4fd36;hb=7b504eddc4b039f2db3a0626bd08f880c5f4de27;hp=eb805017457721808fc105a80db2bc264cc20eaa;hpb=838bc709279964bdcc64070d4eb2777a0f79bcbb;p=fio.git diff --git a/engines/null.c b/engines/null.c index eb805017..bf7885e9 100644 --- a/engines/null.c +++ b/engines/null.c @@ -54,7 +54,7 @@ static int fio_null_commit(struct thread_data *td) return 0; } -static int fio_null_queue(struct thread_data fio_unused *td, struct io_u *io_u) +static int fio_null_queue(struct thread_data *td, struct io_u *io_u) { struct null_data *nd = td->io_ops->data; @@ -83,7 +83,6 @@ static void fio_null_cleanup(struct thread_data *td) if (nd->io_us) free(nd->io_us); free(nd); - td->io_ops->data = NULL; } }