summaryrefslogtreecommitdiffstats
path: root/serial/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'serial/error.c')
-rw-r--r--serial/error.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/serial/error.c b/serial/error.c
index c3ec9144..22be2b1e 100644
--- a/serial/error.c
+++ b/serial/error.c
@@ -88,15 +88,6 @@ DBusHandlerResult err_invalid_args(DBusConnection *conn,
SERIAL_ERROR_INTERFACE ".InvalidArguments", str));
}
-DBusHandlerResult err_not_authorized(DBusConnection *conn,
- DBusMessage *msg)
-{
- return send_message_and_unref(conn,
- dbus_message_new_error(msg,
- SERIAL_ERROR_INTERFACE ".NotAuthorized",
- "Owner not allowed"));
-}
-
DBusHandlerResult err_not_supported(DBusConnection *conn,
DBusMessage *msg)
{