projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup: remove dead assignment
[lttng-tools.git]
/
src
/
common
/
kernel-consumer
/
kernel-consumer.c
diff --git
a/src/common/kernel-consumer/kernel-consumer.c
b/src/common/kernel-consumer/kernel-consumer.c
index bdd5ec86d03d926c45b3bebb54e3a1701e4147c8..2c30bed29c1492bb005dcc759ec91ce02acd88d7 100644
(file)
--- a/
src/common/kernel-consumer/kernel-consumer.c
+++ b/
src/common/kernel-consumer/kernel-consumer.c
@@
-1166,7
+1166,6
@@
static int get_index_values(struct ctf_packet_index *index, int infd)
if (ret == -ENOTTY) {
/* Command not implemented by lttng-modules. */
index->stream_instance_id = -1ULL;
if (ret == -ENOTTY) {
/* Command not implemented by lttng-modules. */
index->stream_instance_id = -1ULL;
- ret = 0;
} else {
PERROR("kernctl_get_instance_id");
goto error;
} else {
PERROR("kernctl_get_instance_id");
goto error;
@@
-1238,7
+1237,6
@@
int update_stream_stats(struct lttng_consumer_stream *stream)
if (ret == -ENOTTY) {
/* Command not implemented by lttng-modules. */
seq = -1ULL;
if (ret == -ENOTTY) {
/* Command not implemented by lttng-modules. */
seq = -1ULL;
- ret = 0;
} else {
PERROR("kernctl_get_sequence_number");
goto end;
} else {
PERROR("kernctl_get_sequence_number");
goto end;
This page took
0.02853 seconds
and
5
git commands to generate.