Diff between ea201ef57ab3f8d13ac3477c478b2cb1da4fccbe and c189fddf7c2ef41413cc20e3f5827b14c287d019

Changed Files

File Additions Deletions Status
src/device.c +0 -9 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index bc78fa7..44e58ac 100644
--- a/src/device.c
+++ b/src/device.c
@@ -174,7 +174,6 @@ struct btd_device {
 	GSList		*attios;
 	GSList		*attios_offline;
 	guint		attachid;		/* Attrib server attach */
-	guint		auto_id;		/* Auto connect source id */
 
 	gboolean	connected;
 	gboolean	profiles_connected;	/* Profile level connected */
@@ -346,9 +345,6 @@ static void device_free(gpointer user_data)
 	if (device->discov_timer)
 		g_source_remove(device->discov_timer);
 
-	if (device->auto_id)
-		g_source_remove(device->auto_id);
-
 	DBG("%p", device);
 
 	if (device->authr)
@@ -4027,11 +4023,6 @@ gboolean btd_device_remove_attio_callback(struct btd_device *device, guint id)
 	if (device->attios != NULL || device->attios_offline != NULL)
 		return TRUE;
 
-	if (device->auto_id) {
-		g_source_remove(device->auto_id);
-		device->auto_id = 0;
-	}
-
 	attio_cleanup(device);
 
 	return TRUE;