From 1c0964c8a3ff02b21947946313da07aa43a95000 Mon Sep 17 00:00:00 2001 From: Vincent Fu Date: Wed, 17 Apr 2024 17:45:05 +0000 Subject: [PATCH] fio: remove compile time assertion TD_NR is the number of fio run states. It's not related to the number of bits we need to shift ioengine flags in order to store them in td->flags. Testing this assertion doesn't make sense. Fixes: 9b87f09b ("fio: inherit IO engine flags to 'td'") Signed-off-by: Vincent Fu --- fio.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fio.c b/fio.c index f19db1be..3d6ce597 100644 --- a/fio.c +++ b/fio.c @@ -27,8 +27,6 @@ int main(int argc, char *argv[], char *envp[]) { int ret = 1; - compiletime_assert(TD_NR <= TD_ENG_FLAG_SHIFT, "TD_ENG_FLAG_SHIFT"); - if (initialize_fio(envp)) return 1; -- 2.25.1