Diff between 4520eca3e5d81be77dba629cd62f8d59632240c1 and 0d38224bf566cb48e412a06a48b370ad1897f0a9

Changed Files

File Additions Deletions Status
profiles/audio/bap.c +1 -4 modified

Full Patch

diff --git a/profiles/audio/bap.c b/profiles/audio/bap.c
index 52a9f5e..db0af7e 100644
--- a/profiles/audio/bap.c
+++ b/profiles/audio/bap.c
@@ -2490,15 +2490,12 @@ static void pac_removed(struct bt_bap_pac *pac, void *user_data)
 
 static void pac_removed_broadcast(struct bt_bap_pac *pac, void *user_data)
 {
-	struct btd_service *service = user_data;
-	struct bap_data *data;
+	struct bap_data *data = user_data;
 	struct queue *queue;
 	struct bap_ep *ep;
 
 	DBG("pac %p", pac);
 
-	data = btd_service_get_user_data(service);
-
 	switch (bt_bap_pac_get_type(pac)) {
 	case BT_BAP_SINK:
 		queue = data->srcs;