Bluetooth: audio: ascs: Remove unused variable

The `ops` variable is unused, thus can be removed.

Signed-off-by: Mariusz Skamra <mariusz.skamra@codecoup.pl>
This commit is contained in:
Mariusz Skamra 2023-07-18 09:16:42 +02:00 committed by Fabio Baltieri
parent 1fcb929108
commit 03d296d546

View File

@ -795,7 +795,6 @@ static void ascs_iso_connected(struct bt_iso_chan *chan)
static void ascs_ep_iso_disconnected(struct bt_bap_ep *ep, uint8_t reason)
{
struct bt_ascs_ase *ase = CONTAINER_OF(ep, struct bt_ascs_ase, ep);
const struct bt_bap_stream_ops *ops;
struct bt_bap_stream *stream;
stream = ep->stream;
@ -804,8 +803,6 @@ static void ascs_ep_iso_disconnected(struct bt_bap_ep *ep, uint8_t reason)
return;
}
ops = stream->ops;
LOG_DBG("stream %p ep %p reason 0x%02x", stream, stream->ep, reason);
if (ep->status.state == BT_BAP_EP_STATE_ENABLING &&