-static int kb_base_verify(struct fio_option *o, void *data)
-{
- struct thread_data *td = data;
-
- if (td->o.kb_base != 1024 && td->o.kb_base != 1000) {
- log_err("fio: kb_base set to nonsensical value: %u\n",
- td->o.kb_base);
- return 1;
- }
-
- return 0;
-}
-
-static int unit_base_verify(struct fio_option *o, void *data)
-{
- struct thread_data *td = data;
-
- /* 0 = default, pick based on engine
- * 1 = use bits
- * 8 = use bytes
- */
- if (td->o.unit_base != 0 &&
- td->o.unit_base != 1 &&
- td->o.unit_base != 8) {
- log_err("fio: unit_base set to nonsensical value: %u\n",
- td->o.unit_base);
- return 1;
- }
-
- return 0;
-}
-