diff options
author | Jens Axboe <axboe@kernel.dk> | 2019-07-31 15:15:50 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2019-07-31 15:15:50 -0600 |
commit | cf408d71681396f9b2ac5b277e3849176378c78e (patch) | |
tree | 51e95439d842efc5b5a6ff2b0623437c57fce4f3 | |
parent | 23380ef29cdf6eaba8bafaf1c3e51e82610ad5ad (diff) | |
download | fio-cf408d71681396f9b2ac5b277e3849176378c78e.tar.gz fio-cf408d71681396f9b2ac5b277e3849176378c78e.tar.bz2 |
Remove unused fio_assert()
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | fio.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -705,16 +705,6 @@ extern void lat_target_reset(struct thread_data *); (i) < (td)->o.nr_files && ((f) = (td)->files[i]) != NULL; \ (i)++) -#define fio_assert(td, cond) do { \ - if (!(cond)) { \ - int *__foo = NULL; \ - fprintf(stderr, "file:%s:%d, assert %s failed\n", __FILE__, __LINE__, #cond); \ - td_set_runstate((td), TD_EXITED); \ - (td)->error = EFAULT; \ - *__foo = 0; \ - } \ -} while (0) - static inline bool fio_fill_issue_time(struct thread_data *td) { if (td->o.read_iolog_file || |