Bluetooth: Remove sco_chan_get helper function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 13 Jul 2014 23:30:15 +0000 (01:30 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 14 Jul 2014 10:10:57 +0000 (13:10 +0300)
commiteb5a4de80f266d0bb7edd43c61894da74faaa91a
treec355496be9622f0601e192ba156f7f7f6c588a1e
parent5a54e7c85b8303b84a9b2fbf978a74d625f85a99
Bluetooth: Remove sco_chan_get helper function

The sco_chan_get helper function is only used in two places and really
only protects conn->sk with a lock. So instead of hiding that fact,
just put the actual code in place where it is used.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
net/bluetooth/sco.c