summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJohan Hedberg2012-01-08 21:51:16 +0100
committerJohan Hedberg2012-02-15 12:09:25 +0100
commit4aa832c27edf902130f8bace1d42cf22468823fa (patch)
tree0145f7d8455de5a7e06a3b9be52f2c2ac3857bb2 /net
parentBluetooth: Don't mark non xfer isoc endpoint URBs with URB_ISO_ASAP (diff)
downloadkernel-qcow2-linux-4aa832c27edf902130f8bace1d42cf22468823fa.tar.gz
kernel-qcow2-linux-4aa832c27edf902130f8bace1d42cf22468823fa.tar.xz
kernel-qcow2-linux-4aa832c27edf902130f8bace1d42cf22468823fa.zip
Bluetooth: Remove bogus inline declaration from l2cap_chan_connect
As reported by Dan Carpenter this function causes a Sparse warning and shouldn't be declared inline: include/net/bluetooth/l2cap.h:837:30 error: marked inline, but without a definition" Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net')
-rw-r--r--net/bluetooth/l2cap_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/l2cap_core.c b/net/bluetooth/l2cap_core.c
index faf0b11ac1d3..980abdb30671 100644
--- a/net/bluetooth/l2cap_core.c
+++ b/net/bluetooth/l2cap_core.c
@@ -1120,7 +1120,7 @@ static struct l2cap_chan *l2cap_global_chan_by_psm(int state, __le16 psm, bdaddr
return c1;
}
-inline int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, bdaddr_t *dst)
+int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, bdaddr_t *dst)
{
struct sock *sk = chan->sk;
bdaddr_t *src = &bt_sk(sk)->src;