lib: de-duplicate "no error" assertion in add port functions
[babeltrace.git] / src / lib / graph / component-source.c
index 5701563ac7d5d74c834102ed720574c0cd264157..83f1ef6973194b4e4195848df332cb7d3cd07cd8 100644 (file)
@@ -128,9 +128,6 @@ enum bt_self_component_add_port_status bt_self_component_source_add_output_port(
        enum bt_self_component_add_port_status status;
        struct bt_port *port = NULL;
 
-       BT_ASSERT_PRE_NO_ERROR();
-       BT_ASSERT_PRE_OUTPUT_PORT_NAME_UNIQUE(comp, name);
-
        /*
         * bt_component_add_output_port() logs details/errors and checks
         * preconditions.
This page took 0.023178 seconds and 4 git commands to generate.