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:
parent
1fcb929108
commit
03d296d546
@ -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 &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user