The NUMA library is always present for cyclictest, thus NUMA config is always defined. Remove deadcode. Signed-off-by: Daniel Wagner <dwagner@xxxxxxx> --- src/cyclictest/cyclictest.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c index 3282ab1b856b..46d88ed155c5 100644 --- a/src/cyclictest/cyclictest.c +++ b/src/cyclictest/cyclictest.c @@ -1327,14 +1327,9 @@ static void process_options(int argc, char *argv[], int max_cpus) /* if smp wasn't requested, test for numa automatically */ if (!smp) { -#ifdef NUMA numa_initialize(); if (setaffinity == AFFINITY_UNSPECIFIED) setaffinity = AFFINITY_USEALL; -#else - warn("cyclictest was not built with the numa option\n"); - numa = 0; -#endif } if (option_affinity) { -- 2.29.2