commit | d17010bf6301b62df09f7878f3474f42ee0754eb | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Oct 10 15:37:31 2018 +0100 |
committer | Marcel Holtmann <marcel@holtmann.org> | Sun Oct 14 10:31:25 2018 +0200 |
tree | dcf9fcf8212ff8e4bb11204ce18954739dc6871d | |
parent | dd1a8f8a88eecbc903f9ffff12332bec6d3f3be3 [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>