From: Willy Tarreau Date: Mon, 22 Aug 2022 08:46:13 +0000 (+0200) Subject: MINOR: cpu-map: remove obsolete diag warning about combined ranges X-Git-Tag: v2.7-dev5~77 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1cfd9bc978126df0fdafef89521c7a44b8aa8f9;p=thirdparty%2Fhaproxy.git 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. --- 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",