]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6bcbf53c1c8aa41155376a134a75b186869cbd8d
treec355496be9622f0601e192ba156f7f7f6c588a1e
parentf3f5cedbd9906b83aa049b888250d43f63672e84
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