Bluetooth: Remove unnecessary hdev locking in smp.c
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Nov 2014 12:37:49 +0000 (14:37 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 15 Nov 2014 00:53:27 +0000 (01:53 +0100)
commitd88b5bbf1a985c338967f3c41351b32b747a55fe
tree34c5556c39e29991180f36ba58332786315d9984
parentadae20cb2d20e5151b866945f802b0c2312f0f82
Bluetooth: Remove unnecessary hdev locking in smp.c

Now that the SMP related key lists are converted to RCU there is nothing
in smp_cmd_sign_info() or smp_cmd_ident_addr_info() that would require
taking the hdev lock (including the smp_distribute_keys call). This
patch removes this unnecessary locking.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c