From 37e9af7e60913c3c34e2cef023d3b18c337dd841 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 10 Dec 2012 14:41:59 +0200 Subject: [PATCH] audio: Remove more left over of headset removal --- profiles/audio/device.c | 5 ----- profiles/audio/device.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/profiles/audio/device.c b/profiles/audio/device.c index 0d66d9a61..080ebc9fe 100644 --- a/profiles/audio/device.c +++ b/profiles/audio/device.c @@ -338,11 +338,6 @@ void audio_device_unregister(struct audio_device *device) { DBG("%s", device_get_path(device->btd_dev)); - if (device->hs_preauth_id) { - g_source_remove(device->hs_preauth_id); - device->hs_preauth_id = 0; - } - if (device->sink) sink_unregister(device); diff --git a/profiles/audio/device.h b/profiles/audio/device.h index 325214ba6..a45ef2120 100644 --- a/profiles/audio/device.h +++ b/profiles/audio/device.h @@ -41,9 +41,6 @@ struct audio_device { struct control *control; struct target *target; - guint hs_preauth_id; - guint hs_auth_id; - struct dev_priv *priv; }; -- 2.47.3