Bluetooth: Remove unnecessary use of hci_dev_list_lock
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 20 May 2011 18:50:41 +0000 (11:50 -0700)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:10:02 +0000 (12:10 -0800)
commitf2525702ab7cd93689c7c6aa0a87319116de9c5d
tree24aab07a08007c1d3fc6572b0a8ed7c26e38ff71
parentfc3ce0d9c2eff388ca466d3c16d7452fb99f3d61
Bluetooth: Remove unnecessary use of hci_dev_list_lock

The get_connections function has no need to use hci_dev_list_lock. The
code was there probably because of a copy-paste mistake.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c