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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:16 +0000 (16:58 -0300)
commit37e1c55de7b1edd3fb8fc3411ad0c32a213723d0
tree995ee7677d158dde7c5f2462ffb0aaf1ade6ee9b
parent75fde9ee1bca0c0c004aadaebdedf17370f93f18
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