[PATCH 1/3] android/gatt: Remove unused uuid variable

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

 



This patch removes unused uuid string variable.
---
 android/gatt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/android/gatt.c b/android/gatt.c
index 8bd7028..e7703c1 100644
--- a/android/gatt.c
+++ b/android/gatt.c
@@ -1704,7 +1704,6 @@ static void handle_client_register_for_notification(const void *buf,
 {
 	const struct hal_cmd_gatt_client_register_for_notification *cmd = buf;
 	struct notification_data *notification;
-	char uuid[MAX_LEN_UUID_STR];
 	struct gatt_client *client;
 	struct characteristic *c;
 	struct element_id match_id;
@@ -1736,7 +1735,6 @@ static void handle_client_register_for_notification(const void *buf,
 	hal_srvc_id_to_element_id(&cmd->srvc_id, &match_id);
 	service = queue_find(dev->services, match_srvc_by_element_id,
 								&match_id);
-	bt_uuid_to_string(&match_id.uuid, uuid, MAX_LEN_UUID_STR);
 	if (!service) {
 		status = HAL_STATUS_FAILED;
 		goto failed;
-- 
1.9.1

--
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