From 6f09d4ea6f7e38b16dcf92474d3f7a23583d4992 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 --- src/common/smp.c | 4 ---- 1 file changed, 4 deletions(-) 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; -- 2.34.1