projects
/
lttng-ust.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5542c10
)
cleanup: remove stale comment
author
Michael Jeanson
<mjeanson@efficios.com>
Mon, 1 Aug 2022 17:44:08 +0000
(13:44 -0400)
committer
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Wed, 17 Aug 2022 20:02:26 +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
patch
|
blob
|
blame
|
history
diff --git
a/src/common/smp.c
b/src/common/smp.c
index 88d66a40a3c0f049e34c46a290af11b4b5fea454..72df6d6df2f1d66271deb88f5c2f894ef2077bf6 100644
(file)
--- 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;
This page took
0.025054 seconds
and
4
git commands to generate.