From 6e78b435beb69a0fce73485f093682849fb2085f Mon Sep 17 00:00:00 2001 From: Fabio Baltieri Date: Wed, 20 Sep 2023 20:36:36 +0000 Subject: [PATCH] Bluetooth: BAP: drop unused variable stream_in_subgroup is set but never used here. Signed-off-by: Fabio Baltieri --- subsys/bluetooth/audio/bap_broadcast_source.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/subsys/bluetooth/audio/bap_broadcast_source.c b/subsys/bluetooth/audio/bap_broadcast_source.c index a6aaf43a60b..c52c31c005a 100644 --- a/subsys/bluetooth/audio/bap_broadcast_source.c +++ b/subsys/bluetooth/audio/bap_broadcast_source.c @@ -839,7 +839,6 @@ int bt_bap_broadcast_source_reconfig(struct bt_bap_broadcast_source *source, struct bt_bap_stream *subgroup_stream; struct bt_iso_chan_io_qos *iso_qos; struct bt_bap_stream *stream; - bool stream_in_subgroup; size_t stream_idx; stream_param = &subgroup_param->params[j]; @@ -848,7 +847,6 @@ int bt_bap_broadcast_source_reconfig(struct bt_bap_broadcast_source *source, stream_idx = 0U; SYS_SLIST_FOR_EACH_CONTAINER(&subgroup->streams, subgroup_stream, _node) { if (subgroup_stream == stream) { - stream_in_subgroup = true; break; }