From: Michael Jeanson Date: Mon, 1 Aug 2022 17:44:08 +0000 (-0400) Subject: cleanup: remove stale comment X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=commitdiff_plain;h=6f09d4ea6f7e38b16dcf92474d3f7a23583d4992 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;