Move the code inside the #else part of the zlib check.
Signed-off-by: Jens Axboe <axboe@fb.com>
return 1;
}
+int iolog_compress_init(struct thread_data *td)
+{
+ return 0;
+}
+
+void iolog_compress_exit(struct thread_data *td)
+{
+}
+
#endif
static int write_iops_log(struct thread_data *td, int try)
td_restore_runstate(td, old_state);
}
-
-int iolog_compress_init(struct thread_data *td)
-{
- return 0;
-}
-
-void iolog_compress_exit(struct thread_data *td)
-{
-}