engines/glusterfs_async: remove no-op prep function
Signed-off-by: Jens Axboe <axboe@fb.com>
diff --git a/engines/glusterfs_async.c b/engines/glusterfs_async.c
index d9d6693..95ca84e 100644
--- a/engines/glusterfs_async.c
+++ b/engines/glusterfs_async.c
@@ -159,22 +159,11 @@
return r;
}
-static int fio_gf_async_prep(struct thread_data *td, struct io_u *io_u)
-{
- dprint(FD_FILE, "%s\n", __FUNCTION__);
-
- if (!ddir_rw(io_u->ddir))
- return 0;
-
- return 0;
-}
-
static struct ioengine_ops ioengine = {
.name = "gfapi_async",
.version = FIO_IOOPS_VERSION,
.init = fio_gf_async_setup,
.cleanup = fio_gf_cleanup,
- .prep = fio_gf_async_prep,
.queue = fio_gf_async_queue,
.open_file = fio_gf_open_file,
.close_file = fio_gf_close_file,