lib: remove bt_connection_is_ended()
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Tue, 19 Mar 2019 18:34:05 +0000 (14:34 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 3 May 2019 22:19:38 +0000 (18:19 -0400)
This function is not needed anymore because connections cannot end.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
include/babeltrace/graph/connection-const.h
lib/graph/connection.c

index 137be8d14b96533da8a81e96c0c9c6b5b5465723..0d2724adf5f7acad70d8a71825eca80c0ae567aa 100644 (file)
@@ -37,8 +37,6 @@ extern const bt_port_input *bt_connection_borrow_downstream_port_const(
 extern const bt_port_output *bt_connection_borrow_upstream_port_const(
                const bt_connection *connection);
 
-extern bt_bool bt_connection_is_ended(const bt_connection *connection);
-
 extern void bt_connection_get_ref(const bt_connection *connection);
 
 extern void bt_connection_put_ref(const bt_connection *connection);
index 965c5eaa050996613544ce7a7f8c540207ac6154..7324b40a1a40d07222a735b244a36681d37d0bac 100644 (file)
@@ -251,11 +251,6 @@ void bt_connection_remove_iterator(struct bt_connection *conn,
        try_remove_connection_from_graph(conn);
 }
 
-bt_bool bt_connection_is_ended(const struct bt_connection *connection)
-{
-       return !connection->downstream_port && !connection->upstream_port;
-}
-
 void bt_connection_get_ref(const struct bt_connection *connection)
 {
        bt_object_get_ref(connection);
This page took 0.024913 seconds and 4 git commands to generate.