We do strict errors on some builds, this breaks them. Remove the
<= 0 check, just check for a value that's too large.
Fixes:
c26438ad ("parse: dump option type when using --debug=parse")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
compiletime_assert(ARRAY_SIZE(opt_type_names) - 1 == FIO_OPT_UNSUPPORTED,
"opt_type_names[] index");
- if (o->type >= 0 && o->type <= FIO_OPT_UNSUPPORTED)
+ if (o->type <= FIO_OPT_UNSUPPORTED)
return opt_type_names[o->type];
return "OPT_UNKNOWN?";