X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.c;h=c6eb71d57807354e729a9f220b02e18d07aaf6ab;hp=b649d198aaad9c49ed139eb7d2520ce1c28f5373;hb=c585b4b94a2f517485cdf1c2f3efe8d26e44b05d;hpb=f3ce6f5d9f5cfbe70898ca94efb3c8b31968534d diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index b649d198a..c6eb71d57 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -4272,11 +4272,6 @@ error_unlock: pthread_mutex_unlock(&stream->lock); pthread_mutex_unlock(&channel->lock); rcu_read_unlock(); - if (ret) { - goto error; - } - ret = LTTCOMM_CONSUMERD_SUCCESS; -error: return ret; }