[PATCH v2 2/2] shared/csip: Remove bt_csip_add_db

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

 



From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>

bt_csip_add_db is unused since csip plugin does use bt_csip_new to
properly create the attributes for CSIS.
---
 src/shared/csip.c | 5 -----
 src/shared/csip.h | 2 --
 2 files changed, 7 deletions(-)

diff --git a/src/shared/csip.c b/src/shared/csip.c
index 7e90a3c97614..04a8d542b390 100644
--- a/src/shared/csip.c
+++ b/src/shared/csip.c
@@ -389,11 +389,6 @@ static struct bt_csip_db *csip_get_db(struct gatt_db *db)
 	return csip_db_new(db);
 }
 
-void bt_csip_add_db(struct gatt_db *db)
-{
-	csip_db_new(db);
-}
-
 bool bt_csip_set_debug(struct bt_csip *csip, bt_csip_debug_func_t func,
 			void *user_data, bt_csip_destroy_func_t destroy)
 {
diff --git a/src/shared/csip.h b/src/shared/csip.h
index 0f8acb1cae82..bc5519cfbc49 100644
--- a/src/shared/csip.h
+++ b/src/shared/csip.h
@@ -36,8 +36,6 @@ typedef bool (*bt_csip_sirk_func_t)(struct bt_csip *csip, uint8_t type,
 struct bt_csip *bt_csip_ref(struct bt_csip *csip);
 void bt_csip_unref(struct bt_csip *csip);
 
-void bt_csip_add_db(struct gatt_db *db);
-
 bool bt_csip_attach(struct bt_csip *csip, struct bt_gatt_client *client);
 void bt_csip_detach(struct bt_csip *csip);
 
-- 
2.41.0




[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