--- src/adapter.c | 5 ----- 1 files changed, 0 insertions(+), 5 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index 8dbd62c..426df15 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -3255,8 +3255,6 @@ void adapter_add_connection(struct btd_adapter *adapter, void adapter_remove_connection(struct btd_adapter *adapter, struct btd_device *device) { - bdaddr_t bdaddr; - DBG(""); if (!g_slist_find(adapter->connections, device)) { @@ -3268,9 +3266,6 @@ void adapter_remove_connection(struct btd_adapter *adapter, adapter->connections = g_slist_remove(adapter->connections, device); - /* clean pending HCI cmds */ - device_get_address(device, &bdaddr); - if (device_is_authenticating(device)) device_cancel_authentication(device, TRUE); -- 1.7.5.rc3 -- 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