From: Luiz Augusto von Dentz Date: Mon, 12 Sep 2011 17:00:50 +0000 (+0300) Subject: Bluetooth: mark l2cap_create_iframe_pdu as static X-Git-Tag: MMI-PSA29.97-13-9~18194^2~83^2~120^2~9 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ab0ff76d1bda3b3b3e65caaa0cc5e4b01a81b2ee;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Signed-off-by: Gustavo F. Padovan --- 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 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;