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]
/
libringbuffer
/
smp.c
diff --git
a/libringbuffer/smp.c
b/libringbuffer/smp.c
index a507df329ebe80d5d01c42517b8452e95d5fcd1d..73804b66427f409626b532d1b1e12b01f5f124ff 100644
(file)
--- 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;
This page took
0.023523 seconds
and
4
git commands to generate.