Diff between aba8f1fbafccd78dca27830d9a3705dd5fa156a6 and 9cd935290c01519f190024955cb10932ab8a7a67

Changed Files

File Additions Deletions Status
profiles/battery/battery.c +0 -2 modified

Full Patch

diff --git a/profiles/battery/battery.c b/profiles/battery/battery.c
index 8cedfa2..ec28a0d 100644
--- a/profiles/battery/battery.c
+++ b/profiles/battery/battery.c
@@ -85,8 +85,6 @@ static void batt_reset(struct batt *batt)
 	batt->attr = NULL;
 	gatt_db_unref(batt->db);
 	batt->db = NULL;
-	bt_gatt_client_unregister_notify(batt->client, batt->batt_level_cb_id);
-	bt_gatt_client_cancel_all(batt->client);
 	bt_gatt_client_unref(batt->client);
 	batt->client = NULL;
 	g_free (batt->initial_value);