Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
* [ltt-dev] [UST PATCH] remove duplicate return
@ 2010-09-05 23:26 Douglas Santos
  2010-09-06  0:49 ` Mathieu Desnoyers
  2010-09-11 18:36 ` Nils Carlson
  0 siblings, 2 replies; 13+ messages in thread
From: Douglas Santos @ 2010-09-05 23:26 UTC (permalink / raw)


---
 libustcmd/ustcmd.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/libustcmd/ustcmd.c b/libustcmd/ustcmd.c
index cf6b9d7..825a649 100644
--- a/libustcmd/ustcmd.c
+++ b/libustcmd/ustcmd.c
@@ -381,11 +381,6 @@ int ustcmd_get_cmsf(struct marker_status **cmsf, const pid_t pid)
 		return -1;
 	}
 
-	if (result != 1) {
-		ERR("error while getting markers list");
-		return -1;
-	}
-
 	tmp_cmsf = (struct marker_status *) malloc(sizeof(struct marker_status) *
 		(ustcmd_count_nl(big_str) + 1));
 	if (tmp_cmsf == NULL) {
-- 
1.7.0.4





^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2010-09-11 18:36 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-05 23:26 [ltt-dev] [UST PATCH] remove duplicate return Douglas Santos
2010-09-06  0:49 ` Mathieu Desnoyers
2010-09-06  1:03   ` Pierre-Marc Fournier
2010-09-06  2:42     ` Mathieu Desnoyers
2010-09-06 15:29       ` Mathieu Desnoyers
2010-09-06 20:14         ` Pierre-Marc Fournier
2010-09-07 15:43           ` Mathieu Desnoyers
2010-09-08 16:29             ` David Goulet
2010-09-08 16:40               ` Mathieu Desnoyers
2010-09-09  7:10             ` Pierre-Marc Fournier
2010-09-09 16:38               ` Mathieu Desnoyers
2010-09-09 17:05                 ` David Goulet
2010-09-11 18:36 ` Nils Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox