Diff between dbdc52599ddb7056febadc92dad0bae9fb6c8a38 and 7a4839b97205ca22ca6dd2dffd29714b492f77e5

Changed Files

File Additions Deletions Status
profiles/heartrate/heartrate.c +0 -3 modified

Full Patch

diff --git a/profiles/heartrate/heartrate.c b/profiles/heartrate/heartrate.c
index 81ff310..28c1932 100644
--- a/profiles/heartrate/heartrate.c
+++ b/profiles/heartrate/heartrate.c
@@ -66,7 +66,6 @@ struct heartrate {
 
 	struct att_range		*svc_range;	/* primary svc range */
 
-	uint16_t			measurement_val_handle;
 	uint16_t			measurement_ccc_handle;
 	uint16_t			hrcp_val_handle;
 
@@ -478,8 +477,6 @@ static void discover_char_cb(GSList *chars, guint8 status, gpointer user_data)
 			struct gatt_char *c_next =
 				(chars->next ? chars->next->data : NULL);
 
-			hr->measurement_val_handle = c->value_handle;
-
 			hr->attionotid = g_attrib_register(hr->attrib,
 						ATT_OP_HANDLE_NOTIFY,
 						c->value_handle,