summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/error.c9
-rw-r--r--network/error.h2
2 files changed, 0 insertions, 11 deletions
diff --git a/network/error.c b/network/error.c
index 43f10af3..24b3d124 100644
--- a/network/error.c
+++ b/network/error.c
@@ -32,15 +32,6 @@
#define NETWORK_ERROR_INTERFACE "org.bluez.network.Error"
-DBusHandlerResult err_unknown_connection(DBusConnection *conn,
- DBusMessage *msg)
-{
- return send_message_and_unref(conn,
- dbus_message_new_error(msg,
- NETWORK_ERROR_INTERFACE ".UnknownConnection",
- "Unknown connection path"));
-}
-
DBusHandlerResult err_does_not_exist(DBusConnection *conn, DBusMessage *msg,
const char *str)
{
diff --git a/network/error.h b/network/error.h
index b62d4796..d4162d5c 100644
--- a/network/error.h
+++ b/network/error.h
@@ -21,8 +21,6 @@
*
*/
-DBusHandlerResult err_unknown_connection(DBusConnection *conn,
- DBusMessage *msg);
DBusHandlerResult err_does_not_exist(DBusConnection *conn,
DBusMessage *msg, const char *str);
DBusHandlerResult err_failed(DBusConnection *conn, DBusMessage *msg,