summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-09-03 00:40:16 +0200
committerMarcel Holtmann <marcel@holtmann.org>2008-09-03 00:40:16 +0200
commit9d53ac0a0c2182d63ae6523b421f2a19a707b0eb (patch)
treeac5972e57b1d20ed023958e02dfed386677e9bbd
parentdd810ab1912af4c5f35fa0995b92b258525894e1 (diff)
Remove unused find_record()
-rw-r--r--src/adapter.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 1f050d9b..26f4c8f6 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -95,25 +95,6 @@ struct service_auth {
static GSList *records = NULL;
-struct record_data {
- uint32_t handle;
- char *sender;
- guint listener_id;
-};
-
-static struct record_data *find_record(uint32_t handle, const char *sender)
-{
- GSList *list;
-
- for (list = records; list; list = list->next) {
- struct record_data *data = list->data;
- if (handle == data->handle && !strcmp(sender, data->sender))
- return data;
- }
-
- return NULL;
-}
-
static inline DBusMessage *invalid_args(DBusMessage *msg)
{
return g_dbus_create_error(msg, ERROR_INTERFACE ".InvalidArguments",