]> 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)
commit1fad9eb3ca5a31318d7353562fc4c5ac9ce39f04
treec355496be9622f0601e192ba156f7f7f6c588a1e
parenta41ddc85edd2a8652f69e456bce40d0651e990aa
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