From 3ed2f0bc02e52d364ae742eacd31a322657257c1 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Mon, 1 Aug 2022 13:44:08 -0400 Subject: [PATCH] cleanup: remove stale comment Change-Id: I339fe13ff2d124fbf0a91223c090921902cb965d Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- libringbuffer/smp.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.34.1