From 5739a4450dc15768cb75210e1419eeb617304c12 Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Wed, 17 May 2023 15:38:27 -0400 Subject: [PATCH] lib: remove TODO in add_port 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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/10038 Reviewed-by: Philippe Proulx Tested-by: jenkins --- src/lib/graph/component.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/lib/graph/component.c b/src/lib/graph/component.c index 95df2dff..e73a1c7a 100644 --- a/src/lib/graph/component.c +++ b/src/lib/graph/component.c @@ -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); -- 2.34.1