commit | 761f1e9f99b2cec66397db59a8f77ff6cbbfa536 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Mon Feb 04 19:03:10 2019 +0000 |
committer | Marcel Holtmann <marcel@holtmann.org> | Mon Feb 18 11:46:45 2019 +0100 |
tree | 5654c6c9207802b628005e9fd265f82a636285e7 | |
parent | e20a2e9c42c9e4002d9e338d74e7819e88d77162 [diff] |
Bluetooth: remove redundant zero check on count Variable count is never zero inside the loop so the check if count is zero is redundant and can be removed. Fix this. Detected by CoverityScan, CID#1466880 ("Logically dead code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>