diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-10-10 15:37:31 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-10-14 10:31:25 +0200 |
commit | d17010bf6301b62df09f7878f3474f42ee0754eb (patch) | |
tree | dcf9fcf8212ff8e4bb11204ce18954739dc6871d /lib/compat_audit.c | |
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>
Diffstat (limited to 'lib/compat_audit.c')
0 files changed, 0 insertions, 0 deletions