lib: remove TODO in add_port
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 17 May 2023 19:38:27 +0000 (15:38 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Sun, 21 May 2023 12:02:12 +0000 (08:02 -0400)
I think that the {input,output}-port-name-is-unique assertions basically
check that this TODO is about.

Change-Id: Ib5029697114f46fd5485d902068ca912b658ebc9
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/10038
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/lib/graph/component.c

index 95df2dff97b18ea9e70e39d3183acda08512ef5a..e73a1c7a384e00a957bf2cddc48db09cd76f1a06 100644 (file)
@@ -236,8 +236,6 @@ enum bt_self_component_add_port_status add_port(
                "Component's graph is already configured: "
                "%![comp-]+c, %![graph-]+g", component, graph);
 
-       // TODO: Validate that the name is not already used.
-
        BT_LIB_LOGI("Adding port to component: %![comp-]+c, "
                "port-type=%s, port-name=\"%s\"", component,
                bt_port_type_string(port_type), name);
This page took 0.026675 seconds and 4 git commands to generate.