diff options
author | Colin Ian King | 2018-10-10 16:37:31 +0200 |
---|---|---|
committer | Marcel Holtmann | 2018-10-14 10:31:25 +0200 |
commit | d17010bf6301b62df09f7878f3474f42ee0754eb (patch) | |
tree | dcf9fcf8212ff8e4bb11204ce18954739dc6871d /drivers/bluetooth/btusb.c | |
parent | Bluetooth: Errata Service Release 8, Erratum 3253 (diff) | |
download | kernel-qcow2-linux-d17010bf6301b62df09f7878f3474f42ee0754eb.tar.gz kernel-qcow2-linux-d17010bf6301b62df09f7878f3474f42ee0754eb.tar.xz kernel-qcow2-linux-d17010bf6301b62df09f7878f3474f42ee0754eb.zip |
Bluetooth: Remove redundant check on status
The check on status is redundant as a status has to be zero at
the point it is being checked because of a previous check and return
path via label 'unlock'. Remove the redundant check and the deadcode
that can never be reached.
Detected by CoverityScan, CID#1471710 ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btusb.c')
0 files changed, 0 insertions, 0 deletions