X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;ds=sidebyside;f=parse.c;h=1071d4031693449fe165fc1852edad4596ee9d91;hb=40e1a6f09be0d487ce08e68e2bf9b0a01d771c8a;hp=c2d744b3088f5a4d74f1e94e9ea9631f9b2859e4;hpb=1621031e8a7cbb91afad124da405fc4eabda764f;p=fio.git diff --git a/parse.c b/parse.c index c2d744b3..1071d403 100644 --- a/parse.c +++ b/parse.c @@ -278,8 +278,7 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data, case FIO_OPT_STR_VAL_TIME: is_time = 1; case FIO_OPT_INT: - case FIO_OPT_STR_VAL: - case FIO_OPT_STR_VAL_INT: { + case FIO_OPT_STR_VAL: { fio_opt_str_val_fn *fn = o->cb; if (is_time) @@ -304,8 +303,7 @@ static int __handle_option(struct fio_option *o, const char *ptr, void *data, if (fn) ret = fn(data, &ull); else { - if (o->type == FIO_OPT_STR_VAL_INT || - o->type == FIO_OPT_INT) { + if (o->type == FIO_OPT_INT) { if (first) val_store(ilp, ull, o->off1, data); if (!more && o->off2)