Remove dead code from session daemon
[lttng-tools.git] / src / bin / lttng-sessiond / ust-metadata.c
index afcb89ddf351eef5386241997bf2ea28be4b9296..0f060c440a0fdb13e80a607c48df8600d582f12e 100644 (file)
@@ -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"
                );
This page took 0.025249 seconds and 5 git commands to generate.