From: David Goulet Date: Tue, 3 Dec 2013 16:45:44 +0000 (-0500) Subject: Fix: remove useless assert X-Git-Tag: v2.4.0-rc2~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=8bd6c0f2181a1d7049d79b3c001f2bc64c76ae3a;p=lttng-tools.git Fix: remove useless assert Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-relayd/ctf-trace.c b/src/bin/lttng-relayd/ctf-trace.c index adfbac3f0..137790f57 100644 --- a/src/bin/lttng-relayd/ctf-trace.c +++ b/src/bin/lttng-relayd/ctf-trace.c @@ -39,7 +39,6 @@ void ctf_trace_try_destroy(struct ctf_trace *obj) } ret_ref = uatomic_add_return(&obj->refcount, -1); - assert(ret_ref >= 0); if (ret_ref == 0) { DBG("Freeing ctf_trace %" PRIu64, obj->id); free(obj);