[ltt-dev] [UST PATCH] remove duplicate return

Douglas Santos douglas.santos at polymtl.ca
Sun Sep 5 19:26:43 EDT 2010


---
 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





More information about the lttng-dev mailing list