diff mbox series

[BlueZ,2/2] shared/csip: Remove bt_csip_add_db

Message ID 20230928191347.2086937-2-luiz.dentz@gmail.com
State New
Headers show
Series [BlueZ,1/2] csip: Fix not registering CSIS service | expand

Commit Message

Luiz Augusto von Dentz Sept. 28, 2023, 7:13 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

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 -----
 1 file changed, 5 deletions(-)
diff mbox series

Patch

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)
 {