From: Jérémie Galarneau Date: Tue, 15 Sep 2015 17:08:50 +0000 (-0400) Subject: Remove dead code from session daemon X-Git-Tag: v2.8.0-rc1~350 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3671213542e8d4953bcb036d7cc91603dbad8984;p=lttng-tools.git Remove dead code from session daemon Signed-off-by: Jérémie Galarneau --- diff --git a/src/bin/lttng-sessiond/ust-metadata.c b/src/bin/lttng-sessiond/ust-metadata.c index afcb89ddf..0f060c440 100644 --- a/src/bin/lttng-sessiond/ust-metadata.c +++ b/src/bin/lttng-sessiond/ust-metadata.c @@ -371,23 +371,6 @@ int ust_metadata_event_statedump(struct ust_registry_session *session, goto end; } -#if 0 /* context for events not supported */ - if (event->ctx) { - ret = lttng_metadata_printf(session, - " context := struct {\n"); - if (ret) - goto end; - } - ret = _lttng_context_metadata_statedump(session, event->ctx); - if (ret) - goto end; - if (event->ctx) { - ret = lttng_metadata_printf(session, - " };\n"); - if (ret) - goto end; - } -#endif ret = lttng_metadata_printf(session, " fields := struct {\n" );