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>
Wed, 15 Feb 2012 11:09:25 +0000 (13:09 +0200)
commit4aa832c27edf902130f8bace1d42cf22468823fa
tree0145f7d8455de5a7e06a3b9be52f2c2ac3857bb2
parent19ad9e94f6e2b4b3e1feccfb2466eb6e3e5b8c2a
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