summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2011-09-12 20:00:50 +0300
committerGustavo F. Padovan <padovan@profusion.mobi>2011-09-21 12:59:16 -0300
commitab0ff76d1bda3b3b3e65caaa0cc5e4b01a81b2ee (patch)
tree5db5580132cedfdfe55139ac9da468a7429c264b /net/bluetooth
parentf8523598ee608a8c4d1f3bbd3639785be3321111 (diff)
downloadop-kernel-dev-ab0ff76d1bda3b3b3e65caaa0cc5e4b01a81b2ee.zip
op-kernel-dev-ab0ff76d1bda3b3b3e65caaa0cc5e4b01a81b2ee.tar.gz
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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index 4bfb7d2..1611b35 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
return skb;
}
-struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, struct msghdr *msg, size_t len, u16 control, u16 sdulen)
+static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan,
+ struct msghdr *msg, size_t len,
+ u16 control, u16 sdulen)
{
struct sock *sk = chan->sk;
struct l2cap_conn *conn = chan->conn;
OpenPOWER on IntegriCloud