From 5fa1b91dcd4abdca0aa82b1c4d06bea7067c4562 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 27 May 2008 18:41:54 +0000 Subject: Cleanup: unused function --- hcid/dbus-common.c | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'hcid/dbus-common.c') diff --git a/hcid/dbus-common.c b/hcid/dbus-common.c index 5acec28d..ec04f797 100644 --- a/hcid/dbus-common.c +++ b/hcid/dbus-common.c @@ -70,21 +70,6 @@ static sdp_session_t *sess = NULL; static int experimental = 0; -service_handler_func_t find_service_handler(struct service_data *handlers, DBusMessage *msg) -{ - struct service_data *current; - const char *name; - - name = dbus_message_get_member(msg); - - for (current = handlers; current->name != NULL; current++) { - if (!strcmp(current->name, name)) - return current->handler_func; - } - - return NULL; -} - int str2uuid(uuid_t *uuid, const char *string) { uint16_t svclass, data1, data2, data3, data5; -- cgit