Bluetooth: Remove bogus inline declaration from l2cap_chan_connect
authorJohan Hedberg <johan.hedberg@intel.com>
Sun, 8 Jan 2012 20:51:16 +0000 (22:51 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:25 +0000 (17:01 +0200)
commitcbe8fed490601862310f035b9973509b8634998e
tree1e7ec26868d0c4639b6a659b1cf6eb645f0c7a79
parentdc946bd86f725c42c3ab1caf9966d29f5b364fea
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>
include/net/bluetooth/l2cap.h
net/bluetooth/l2cap_core.c