summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:25:18 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-12-23 05:25:18 +0100
commitc2f08ad646de6cb18a456b6389c842a22bd84022 (patch)
tree0ad4802076d76be4b6a0673ca01d2877a78e7d52
parentba4bcf3dfe11e739f4968e16c72c7a27a3a74cd9 (diff)
Removed unused function
-rw-r--r--audio/manager.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/audio/manager.c b/audio/manager.c
index 453e2731..c84476b8 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -980,24 +980,6 @@ void audio_manager_exit(void)
connection = NULL;
}
-struct audio_device *manager_get_connected_device(void)
-{
- GSList *l;
-
- for (l = devices; l != NULL; l = g_slist_next(l)) {
- struct audio_device *device = l->data;
-
- if ((device->sink || device->source) &&
- avdtp_is_connected(&device->src, &device->dst))
- return device;
-
- if (device->headset && headset_is_active(device))
- return device;
- }
-
- return NULL;
-}
-
struct audio_device *manager_find_device(const bdaddr_t *bda, const char *interface,
gboolean connected)
{