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:31 +0000 (16:02 -0400)
Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
libringbuffer/smp.c

index a507df329ebe80d5d01c42517b8452e95d5fcd1d..73804b66427f409626b532d1b1e12b01f5f124ff 100644 (file)
@@ -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;
 
This page took 0.025473 seconds and 4 git commands to generate.