Change return type of td_io_commit() into void
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 633f6175170f4c88004c71fa14e756cf55d22480..5b4c0df06ad5774aa6ffde99407465b5d8335e61 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -610,11 +610,8 @@ int io_u_quiesce(struct thread_data *td)
         * io's that have been actually submitted to an async engine,
         * and cur_depth is meaningless for sync engines.
         */
-       if (td->io_u_queued || td->cur_depth) {
-               int fio_unused ret;
-
-               ret = td_io_commit(td);
-       }
+       if (td->io_u_queued || td->cur_depth)
+               td_io_commit(td);
 
        while (td->io_u_in_flight) {
                int ret;