Skip to content

Commit

Permalink
rate: remove redundant code in rate_ddir()
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Mar 12, 2015
1 parent 85492cb commit 95e5645
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions io_u.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,9 +590,6 @@ static enum fio_ddir rate_ddir(struct thread_data *td, enum fio_ddir ddir)
if (td_rw(td) && __should_check_rate(td, odir))
td->rate_pending_usleep[odir] -= usec;

if (ddir == DDIR_TRIM)
return DDIR_TRIM;

return ddir;
}

Expand Down

0 comments on commit 95e5645

Please sign in to comment.