From c2f08ad646de6cb18a456b6389c842a22bd84022 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 23 Dec 2008 05:25:18 +0100 Subject: Removed unused function --- audio/manager.c | 18 ------------------ 1 file changed, 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) { -- cgit