[PATCH 4/5] device: Remove not really used auto_id member from btd_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



auto_id is not used anymore as LE device connect is now done by
adapter autoconnect list.
---
 src/device.c |    9 ---------
 1 file changed, 9 deletions(-)

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;
-- 
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux