Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
struct io_completion_data icd;
struct timespec *tvp = NULL;
int ret;
struct io_completion_data icd;
struct timespec *tvp = NULL;
int ret;
+ struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, };
- if (!min_events) {
- struct timespec ts = { .tv_sec = 0, .tv_nsec = 0, };
-
ret = td_io_getevents(td, min_events, td->cur_depth, tvp);
if (ret < 0) {
ret = td_io_getevents(td, min_events, td->cur_depth, tvp);
if (ret < 0) {