Bluetooth: Remove unneeded locking
commit7cb14d84e9e4afbb1547969b923640f39eb1db84
authorAndre Guedes <andre.guedes@openbossa.org>
Fri, 27 Jan 2012 22:42:03 +0000 (27 19:42 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:38:55 +0000 (22 15:38 -0700)
tree96aa690f61dbc744415621006065956fe2189614
parent5993a671e7146b0ab49b901588be0cb128b26431
Bluetooth: Remove unneeded locking

commit e72acc13c770a82b4ce4a07e9716f29320eae0f8 upstream.

We don't need locking hdev in hci_conn_timeout() since it doesn't
access any hdev's shared resources, it basically queues HCI commands.

Signed-off-by: Andre Guedes <andre.guedes@openbossa.org>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Reviewed-by: Ulisses Furquim <ulisses@profusion.mobi>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Tested-by: Alexander Holler <holler@ahsoftware.de>
[reported to fix lockups on battery-powered bluetooth devices - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/bluetooth/hci_conn.c