OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fbd0bd
)
android/gatt: Remove unused uuid variable
author
Grzegorz Kolodziejczyk
<grzegorz.kolodziejczyk@tieto.com>
Fri, 4 Apr 2014 07:31:58 +0000
(09:31 +0200)
committer
Szymon Janc
<szymon.janc@tieto.com>
Fri, 4 Apr 2014 08:26:50 +0000
(10:26 +0200)
This patch removes unused uuid string variable.
android/gatt.c
patch
|
blob
|
history
diff --git
a/android/gatt.c
b/android/gatt.c
index
7a6a2a2
..
68e2112
100644
(file)
--- a/
android/gatt.c
+++ b/
android/gatt.c
@@
-2215,7
+2215,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;
@@
-2247,7
+2246,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;