have_timeout = 1;
r = 0;
- suspend_list[0] = NULL;
+ memset(suspend_list, 0, sizeof(*suspend_list));
restart:
list_for_each(entry, &td->io_u_busylist) {
struct io_u *io_u = list_entry(entry, struct io_u, list);
if (pd) {
free(pd->aio_events);
free(pd);
- td->io_ops->data = NULL;
}
}