From: Michael Jeanson Date: Mon, 1 Aug 2022 17:44:08 +0000 (-0400) Subject: cleanup: remove stale comment X-Git-Tag: v2.13.4~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7a2feada726a5e981bd940d4db46e8226c212773;p=lttng-ust.git cleanup: remove stale comment Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/smp.c b/src/common/smp.c index 88d66a40..72df6d6d 100644 --- a/src/common/smp.c +++ b/src/common/smp.c @@ -215,10 +215,6 @@ int get_max_cpuid_from_mask(const char *pmask, size_t len) cpu_index = strtoul(&pmask[i], &endptr, 10); - /* - * If we read a CPU index, increment it by one to return a number of - * CPUs. - */ if ((&pmask[i] != endptr) && (cpu_index < INT_MAX)) return (int) cpu_index;