lib: add internal BT_LIB_LOG*_APPEND_CAUSE() macros
[babeltrace.git] / src / lib / trace-ir / packet-context-field.c
index 612adb94677ad02075e819ea1beb2a35382e2935..c03e1eae331de44e76404c0ff5dd6e7b75a52461 100644 (file)
@@ -21,7 +21,7 @@
  */
 
 #define BT_LOG_TAG "LIB/PACKET-CONTEXT-FIELD"
-#include "lib/lib-logging.h"
+#include "lib/logging.h"
 
 #include "lib/assert-pre.h"
 #include <babeltrace2/trace-ir/packet-context-field.h>
@@ -63,9 +63,6 @@ struct bt_packet_context_field *bt_packet_context_field_create(
        struct bt_field_wrapper *field_wrapper;
 
        BT_ASSERT_PRE_NON_NULL(stream_class, "Stream class");
-       BT_ASSERT_PRE(stream_class->frozen,
-               "Stream class is not part of a trace class: %!+S",
-               stream_class);
        BT_ASSERT_PRE(stream_class->packet_context_fc,
                "Stream class has no packet context field class: %!+S",
                stream_class);
This page took 0.024425 seconds and 4 git commands to generate.