client: use temp buffer for single output flush for json/disk util
[fio.git] / gettime-thread.c
index 87f50600cca01a78d25f53f167d7835212dde5cc..0a2cc6c451d533d1a5c56ce2ce857c85a7b31de2 100644 (file)
@@ -1,5 +1,3 @@
-#include <unistd.h>
-#include <math.h>
 #include <sys/time.h>
 #include <time.h>
 
@@ -17,8 +15,6 @@ void fio_gtod_init(void)
                return;
 
        fio_ts = smalloc(sizeof(*fio_ts));
-       if (!fio_ts)
-               log_err("fio: smalloc pool exhausted\n");
 }
 
 static void fio_gtod_update(void)