From: Michael Jeanson Date: Mon, 1 Aug 2022 17:44:08 +0000 (-0400) Subject: cleanup: remove stale comment X-Git-Tag: v2.12.6~1 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3ed2f0bc02e52d364ae742eacd31a322657257c1;p=lttng-ust.git cleanup: remove stale comment Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/libringbuffer/smp.c b/libringbuffer/smp.c index a507df32..73804b66 100644 --- a/libringbuffer/smp.c +++ b/libringbuffer/smp.c @@ -193,10 +193,6 @@ int get_num_possible_cpus_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 + 1;