summaryrefslogtreecommitdiffstats
path: root/network/connection.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/connection.c')
-rw-r--r--network/connection.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/network/connection.c b/network/connection.c
index 16d3e383..b8f029e1 100644
--- a/network/connection.c
+++ b/network/connection.c
@@ -123,12 +123,6 @@ static inline DBusMessage *not_connected(DBusMessage *msg)
"Device not connected");
}
-static inline DBusMessage *no_pending_connect(DBusMessage *msg)
-{
- return g_dbus_create_error(msg, ERROR_INTERFACE ".Failed",
- "Device has no pending connect");
-}
-
static inline DBusMessage *connection_attempt_failed(DBusMessage *msg, int err)
{
return g_dbus_create_error(msg, ERROR_INTERFACE ".ConnectionAttemptFailed",