summaryrefslogtreecommitdiffstats
path: root/serial/error.c
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:57 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2007-05-19 02:19:57 +0000
commitdc2fadfce2466c28e87f701d995fda91ffda1e67 (patch)
treeb64e3e99e5c258b305d9cfe07b15f14f59274cbc /serial/error.c
parentbb4707cb8caef490cb3ceb329269f8491d01cc6b (diff)
serial: removed unused error(NotAuthorized)
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)
{