Skip to content

Commit 54d1e15

Browse files
MariuszSkamracarlescufi
authored andcommitted
Bluetooth: audio: ascs: Make ascs_ep_set_metadata static
This changes ascs_ep_set_metadata to be static as it's not used outside of ascs.c. Signed-off-by: Mariusz Skamra <[email protected]>
1 parent fc398ac commit 54d1e15

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

subsys/bluetooth/audio/ascs.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1862,9 +1862,8 @@ static int ascs_verify_metadata(const struct net_buf_simple *buf,
18621862
return result.err;
18631863
}
18641864

1865-
int ascs_ep_set_metadata(struct bt_audio_ep *ep,
1866-
struct net_buf_simple *buf, uint8_t len,
1867-
struct bt_codec *codec)
1865+
static int ascs_ep_set_metadata(struct bt_audio_ep *ep, struct net_buf_simple *buf, uint8_t len,
1866+
struct bt_codec *codec)
18681867
{
18691868
struct net_buf_simple meta_ltv;
18701869
int err;

subsys/bluetooth/audio/ascs_internal.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,3 @@ static inline const char *bt_ascs_reason_str(uint8_t reason)
361361
}
362362

363363
void ascs_ep_set_state(struct bt_audio_ep *ep, uint8_t state);
364-
int ascs_ep_set_metadata(struct bt_audio_ep *ep,
365-
struct net_buf_simple *buf, uint8_t len,
366-
struct bt_codec *codec);

0 commit comments

Comments
 (0)