diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2011-09-12 13:00:50 -0400 |
---|---|---|
committer | Gustavo F. Padovan <padovan@profusion.mobi> | 2011-09-21 11:59:16 -0400 |
commit | ab0ff76d1bda3b3b3e65caaa0cc5e4b01a81b2ee (patch) | |
tree | 5db5580132cedfdfe55139ac9da468a7429c264b /net/bluetooth | |
parent | f8523598ee608a8c4d1f3bbd3639785be3321111 (diff) |
Bluetooth: mark l2cap_create_iframe_pdu as static
l2cap_create_iframe_pdu is only used in l2cap_core.c
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'net/bluetooth')
-rw-r--r-- | net/bluetooth/l2cap_core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c index 4bfb7d22d171..1611b3544bb1 100644 --- a/net/bluetooth/l2cap_core.c +++ b/net/bluetooth/l2cap_core.c | |||
@@ -1524,7 +1524,9 @@ struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan, struct msghdr *m | |||
1524 | return skb; | 1524 | return skb; |
1525 | } | 1525 | } |
1526 | 1526 | ||
1527 | struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len, u16 control, u16 sdulen) | 1527 | static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, |
1528 | struct msghdr *msg, size_t len, | ||
1529 | u16 control, u16 sdulen) | ||
1528 | { | 1530 | { |
1529 | struct sock *sk = chan->sk; | 1531 | struct sock *sk = chan->sk; |
1530 | struct l2cap_conn *conn = chan->conn; | 1532 | struct l2cap_conn *conn = chan->conn; |