X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fnull.c;h=8a4d106be75b1879b466dd433ea2469e9bdd8c1b;hb=53bb5d9c037e842970b32bc828dbe809b42c144d;hp=570f75d3a19609cb59b6ac70f444e6b6d2f9b948;hpb=966fcbd4c226d8c433b6e9f9dbd28c5efd442d82;p=fio.git diff --git a/engines/null.c b/engines/null.c index 570f75d3..8a4d106b 100644 --- a/engines/null.c +++ b/engines/null.c @@ -139,8 +139,7 @@ static void fio_null_cleanup(struct thread_data *td) static int fio_null_init(struct thread_data *td) { - struct null_data *nd = (struct null_data *)td->io_ops_data; - return null_init(td, &nd); + return null_init(td, (struct null_data **)&td->io_ops_data); } static struct ioengine_ops ioengine = {