From 35c7f1a0155e675c37c4e258c50ed4e49b3ae4f6 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 25 Sep 2008 19:58:57 -0700 Subject: Get rid of an unnecessary variable --- src/dbus-hci.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dbus-hci.c b/src/dbus-hci.c index 6713f7b5..465f2bde 100644 --- a/src/dbus-hci.c +++ b/src/dbus-hci.c @@ -501,7 +501,6 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, { struct btd_adapter *adapter; char peer_addr[18]; - const char *paddr = peer_addr; DBusMessage *reply; struct btd_device *device; struct bonding_request_info *bonding; @@ -520,7 +519,7 @@ void hcid_dbus_bonding_process_complete(bdaddr_t *local, bdaddr_t *peer, bonding = adapter_get_bonding_info(adapter); if (status == 0) { - device = adapter_get_device(connection, adapter, paddr); + device = adapter_get_device(connection, adapter, peer_addr); if (!device) { /* This should really only happen if we run out of * memory */ -- cgit