From 090e6f563dfe3fcc55f559a852206a2ed9988762 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 17 Aug 2018 16:31:00 +0100 Subject: [PATCH 3/9] bus_connections_get_context: Remove, unused Signed-off-by: Simon McVittie --- bus/connection.c | 6 ------ bus/connection.h | 1 - 2 files changed, 7 deletions(-) diff --git a/bus/connection.c b/bus/connection.c index 25826b1b..43ab0311 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -1148,12 +1148,6 @@ bus_connection_get_policy (DBusConnection *connection) return d->policy; } -BusContext* -bus_connections_get_context (BusConnections *connections) -{ - return connections->context; -} - /* * This is used to avoid covering the same connection twice when * traversing connections. Note that it assumes we will diff --git a/bus/connection.h b/bus/connection.h index ad3fa8a3..e944526a 100644 --- a/bus/connection.h +++ b/bus/connection.h @@ -39,7 +39,6 @@ BusConnections* bus_connections_ref (BusConnections void bus_connections_unref (BusConnections *connections); dbus_bool_t bus_connections_setup_connection (BusConnections *connections, DBusConnection *connection); -BusContext* bus_connections_get_context (BusConnections *connections); void bus_connections_increment_stamp (BusConnections *connections); dbus_bool_t bus_connections_reload_policy (BusConnections *connections, DBusError *error); -- 2.19.0.rc1