提交 87e2a020 编写于 作者: M Marcel Holtmann 提交者: Johan Hedberg

Bluetooth: Make __next_ident function static.

The __next_ident function is a local function and so do not export it
and make it static.
Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: NJohan Hedberg <johan.hedberg@intel.com>
上级 bc333cc4
...@@ -69,7 +69,7 @@ static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *dat ...@@ -69,7 +69,7 @@ static void a2mp_send(struct amp_mgr *mgr, u8 code, u8 ident, u16 len, void *dat
kfree(cmd); kfree(cmd);
} }
u8 __next_ident(struct amp_mgr *mgr) static u8 __next_ident(struct amp_mgr *mgr)
{ {
if (++mgr->ident == 0) if (++mgr->ident == 0)
mgr->ident = 1; mgr->ident = 1;
......
...@@ -131,7 +131,6 @@ struct a2mp_physlink_rsp { ...@@ -131,7 +131,6 @@ struct a2mp_physlink_rsp {
struct amp_mgr *amp_mgr_get(struct amp_mgr *mgr); struct amp_mgr *amp_mgr_get(struct amp_mgr *mgr);
int amp_mgr_put(struct amp_mgr *mgr); int amp_mgr_put(struct amp_mgr *mgr);
u8 __next_ident(struct amp_mgr *mgr);
struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn, struct l2cap_chan *a2mp_channel_create(struct l2cap_conn *conn,
struct sk_buff *skb); struct sk_buff *skb);
void a2mp_discover_amp(struct l2cap_chan *chan); void a2mp_discover_amp(struct l2cap_chan *chan);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册