From f1cfd9bc978126df0fdafef89521c7a44b8aa8f9 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 22 Aug 2022 10:46:13 +0200 Subject: [PATCH] MINOR: cpu-map: remove obsolete diag warning about combined ranges We used to emit a diag warning in case ranges were used both with the process and thread part of a thread spec. Now with groups it's not longer a problem, so let's just kill this warning. --- src/cfgparse-global.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cfgparse-global.c b/src/cfgparse-global.c index a7c1a40ead..18226bb820 100644 --- a/src/cfgparse-global.c +++ b/src/cfgparse-global.c @@ -1134,9 +1134,6 @@ int cfg_parse_global(const char *file, int linenum, char **args, int kwm) } } } - - HA_DIAG_WARNING_COND(tgroup != 0x1 && thread != 0x1, - "parsing [%s:%d] : cpu-map statement is considered invalid and thus ignored as it addresses multiple groups and threads at the same time. At least one of them should be 1 and only 1.", file, linenum); } #else ha_alert("parsing [%s:%d] : '%s' is not enabled, please check build options for USE_CPU_AFFINITY.\n", -- 2.47.3