projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cleanup: remove stale comment
[lttng-ust.git]
/
src
/
common
/
smp.c
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.024595 seconds
and
5
git commands to generate.