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)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:12 +0000 (11:59 -0700)
commitceb723b8a337b6544594b39427bd3c2e5eaf0102
tree1f671be1f61ce8dc7ad7e8b703223cab7fe43910
parent523425980d0d18d45d4743159884212c29cedbc7
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