diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-11-12 09:17:08 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-11-12 10:05:25 +0100 |
commit | a930430b047a0cc118bfc47ca54fcdfbadf091d2 (patch) | |
tree | f34b024966a7c54c7b9f9f49c86b0d2ba6c9d9f0 /net/mac802154/ieee802154_i.h | |
parent | f03567040cbf874834c9e3e52b72fdcb672b9bbb (diff) | |
download | blackbird-obmc-linux-a930430b047a0cc118bfc47ca54fcdfbadf091d2.tar.gz blackbird-obmc-linux-a930430b047a0cc118bfc47ca54fcdfbadf091d2.zip |
Bluetooth: Remove unnecessary hci_dev_lock/unlock in smp.c
The mgmt_user_passkey_request and related functions do not do anything
else except read access to hdev->id. This member never changes after the
hdev creation so there is no need to acquire a lock to read it.
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'net/mac802154/ieee802154_i.h')
0 files changed, 0 insertions, 0 deletions