Move gtod_cpu affinity check to verify callback
[fio.git] / init.c
diff --git a/init.c b/init.c
index cd32725c4b9893ed2983419e44835f707b4a1935..d40009d2b75f6cf343e3f867c237e290a1eea8f0 100644 (file)
--- a/init.c
+++ b/init.c
@@ -233,22 +233,6 @@ static int fixup_options(struct thread_data *td)
        }
 #endif
 
-#ifndef FIO_HAVE_CPU_AFFINITY
-       if (td->o.gtod_cpu) {
-               log_err("fio: platform must support CPU affinity for"
-                       "gettimeofday() offloading\n");
-               return 1;
-       }
-#endif
-
-#if 0
-       if (read_only && td_write(td)) {
-               log_err("fio: job <%s> has write bit set, but fio is in"
-                       " read-only mode\n", td->o.name);
-               return 1;
-       }
-#endif
-
        if (o->write_iolog_file && o->read_iolog_file) {
                log_err("fio: read iolog overrides write_iolog\n");
                free(o->write_iolog_file);