projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7839440
)
Fix: remove dead code in relayd live code
author
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 21:08:43 +0000
(16:08 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 11 Feb 2014 21:10:08 +0000
(16:10 -0500)
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-relayd/live.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/lttng-relayd/live.c
b/src/bin/lttng-relayd/live.c
index c70c31762f7d7f0dd7c40e63acffadf3a1d46c4b..34114ad33872c88e7dfee1d3fc53b59a572ba18d 100644
(file)
--- a/
src/bin/lttng-relayd/live.c
+++ b/
src/bin/lttng-relayd/live.c
@@
-948,10
+948,6
@@
int viewer_get_new_streams(struct relay_connection *conn)
send_streams = 1;
response.status = htobe32(LTTNG_VIEWER_NEW_STREAMS_OK);
- if (!send_streams) {
- goto send_reply;
- }
-
ret = make_viewer_streams(session, LTTNG_VIEWER_SEEK_LAST, NULL, &nb_unsent,
&nb_created);
if (ret < 0) {
@@
-1082,10
+1078,6
@@
int viewer_attach_session(struct relay_connection *conn)
goto send_reply;
}
- if (!send_streams) {
- goto send_reply;
- }
-
ret = make_viewer_streams(session, seek_type, &nb_streams, NULL, NULL);
if (ret < 0) {
goto end_unlock;
This page took
0.026391 seconds
and
4
git commands to generate.