Diff between 59eda24f59474306b2bb6d9b097972b9f7067486 and 5f7c9ffd76887b0473d66443ac6b3a2454ba2887

Changed Files

File Additions Deletions Status
src/shared/gatt-db.c +1 -3 modified

Full Patch

diff --git a/src/shared/gatt-db.c b/src/shared/gatt-db.c
index c11c5d1..9cbf409 100644
--- a/src/shared/gatt-db.c
+++ b/src/shared/gatt-db.c
@@ -95,10 +95,8 @@ static struct gatt_db_attribute *new_attribute(const bt_uuid_t *type,
 	return attribute;
 }
 
-static void attribute_destroy(void *data)
+static void attribute_destroy(struct gatt_db_attribute *attribute)
 {
-	struct gatt_db_attribute *attribute = data;
-
 	/* Attribute was not initialized by user */
 	if (!attribute)
 		return;