cleanup: remove stale comment
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 1 Aug 2022 17:44:08 +0000 (13:44 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 17 Aug 2022 20:02:05 +0000 (16:02 -0400)
Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/smp.c

index 88d66a40a3c0f049e34c46a290af11b4b5fea454..72df6d6df2f1d66271deb88f5c2f894ef2077bf6 100644 (file)
@@ -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;
 
This page took 0.025207 seconds and 4 git commands to generate.