Diff between 21b0084397d0a1468839932e61ccb0d0c61f6e71 and 37e9af7e60913c3c34e2cef023d3b18c337dd841

Changed Files

File Additions Deletions Status
profiles/audio/device.c +0 -5 modified
profiles/audio/device.h +0 -3 modified

Full Patch

diff --git a/profiles/audio/device.c b/profiles/audio/device.c
index 0d66d9a..080ebc9 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 325214b..a45ef21 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;
 };