[PATCH] device: Remove not used variable from search_cb

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

 



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


[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