From 03d296d5462cedc7b4c28b259cdcd7bc623ff8fd Mon Sep 17 00:00:00 2001 From: Mariusz Skamra Date: Tue, 18 Jul 2023 09:16:42 +0200 Subject: [PATCH] Bluetooth: audio: ascs: Remove unused variable The `ops` variable is unused, thus can be removed. Signed-off-by: Mariusz Skamra --- subsys/bluetooth/audio/ascs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/subsys/bluetooth/audio/ascs.c b/subsys/bluetooth/audio/ascs.c index cf703b7d359..72a4c468a90 100644 --- a/subsys/bluetooth/audio/ascs.c +++ b/subsys/bluetooth/audio/ascs.c @@ -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 &&