Bluetooth: BAP: drop unused variable

stream_in_subgroup is set but never used here.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2023-09-20 20:36:36 +00:00 committed by Alberto Escolar
commit 6e78b435be

View file

@ -839,7 +839,6 @@ int bt_bap_broadcast_source_reconfig(struct bt_bap_broadcast_source *source,
struct bt_bap_stream *subgroup_stream; struct bt_bap_stream *subgroup_stream;
struct bt_iso_chan_io_qos *iso_qos; struct bt_iso_chan_io_qos *iso_qos;
struct bt_bap_stream *stream; struct bt_bap_stream *stream;
bool stream_in_subgroup;
size_t stream_idx; size_t stream_idx;
stream_param = &subgroup_param->params[j]; 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; stream_idx = 0U;
SYS_SLIST_FOR_EACH_CONTAINER(&subgroup->streams, subgroup_stream, _node) { SYS_SLIST_FOR_EACH_CONTAINER(&subgroup->streams, subgroup_stream, _node) {
if (subgroup_stream == stream) { if (subgroup_stream == stream) {
stream_in_subgroup = true;
break; break;
} }