dba is not used in function code. --- src/device.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/device.c b/src/device.c index ab9e897..cb6812a 100644 --- a/src/device.c +++ b/src/device.c @@ -1802,13 +1802,8 @@ send_reply: } cleanup: - if (!device->temporary) { - bdaddr_t dba; - - device_get_address(device, &dba, NULL); - + if (!device->temporary) store_profiles(device); - } device->browse = NULL; browse_request_free(req); -- 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