Bluetooth: delete a stray unlock
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 19 Nov 2019 06:17:05 +0000 (09:17 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 19 Nov 2019 08:16:33 +0000 (09:16 +0100)
commitdf66499a1fab340c167250a5743931dc50d5f0fa
tree257e98c4d9e106b67a973528d9aa5b0735923d54
parentb8dc647657d523ea6d6f169992c99fc3680a5f81
Bluetooth: delete a stray unlock

We used to take a lock in amp_physical_cfm() but then we moved it to
the caller function.  Unfortunately the unlock on this error path was
overlooked so it leads to a double unlock.

Fixes: a514b17fab51 ("Bluetooth: Refactor locking in amp_physical_cfm")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c