[PATCH BlueZ 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 -----
 1 file changed, 5 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)
 {
-- 
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