rate-submit: remove code that can never be executed
[fio.git] / rate-submit.c
index 8ecd285..68ad755 100644 (file)
@@ -83,10 +83,6 @@ static int io_workqueue_fn(struct submit_worker *sw,
                ret = io_u_queued_complete(td, min_evts);
                if (ret > 0)
                        td->cur_depth -= ret;
-       } else if (ret == FIO_Q_BUSY) {
-               ret = io_u_queued_complete(td, td->cur_depth);
-               if (ret > 0)
-                       td->cur_depth -= ret;
        }
 
        return 0;