summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-10-10 15:37:31 +0100
committerMarcel Holtmann <marcel@holtmann.org>2018-10-14 10:31:25 +0200
commitd17010bf6301b62df09f7878f3474f42ee0754eb (patch)
treedcf9fcf8212ff8e4bb11204ce18954739dc6871d /drivers/bluetooth
parentdd1a8f8a88eecbc903f9ffff12332bec6d3f3be3 (diff)
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')
0 files changed, 0 insertions, 0 deletions