"srcaddr" variable is not used for anything else in
btd_event_remote_name() function. So, remove it for now.
void btd_event_remote_name(bdaddr_t *local, bdaddr_t *peer, char *name)
{
struct btd_adapter *adapter;
- char srcaddr[18];
struct btd_device *device;
struct remote_dev_info *dev_info;
if (!get_adapter_and_device(local, peer, &adapter, &device, FALSE))
return;
- ba2str(local, srcaddr);
-
dev_info = adapter_search_found_devices(adapter, peer);
if (dev_info) {
g_free(dev_info->name);