projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clang-tidy: add readability-simplify-boolean-expr
[lttng-tools.git]
/
src
/
bin
/
lttng-relayd
/
tracefile-array.cpp
diff --git
a/src/bin/lttng-relayd/tracefile-array.cpp
b/src/bin/lttng-relayd/tracefile-array.cpp
index b59e2aea17c8e493827cdf40cb1ffa9ffb28e09c..91baa74aa9f6e0248db2e61ffd236e8069af63b0 100644
(file)
--- a/
src/bin/lttng-relayd/tracefile-array.cpp
+++ b/
src/bin/lttng-relayd/tracefile-array.cpp
@@
-168,9
+168,5
@@
bool tracefile_array_seq_in_file(struct tracefile_array *tfa, uint64_t file_inde
if (seq == -1ULL) {
return false;
}
if (seq == -1ULL) {
return false;
}
- if (seq >= tfa->tf[file_index].seq_tail && seq <= tfa->tf[file_index].seq_head) {
- return true;
- } else {
- return false;
- }
+ return seq >= tfa->tf[file_index].seq_tail && seq <= tfa->tf[file_index].seq_head;
}
}
This page took
0.023517 seconds
and
4
git commands to generate.