diff options
author | 2019-02-04 19:03:10 +0000 | |
---|---|---|
committer | 2019-02-18 11:46:45 +0100 | |
commit | 761f1e9f99b2cec66397db59a8f77ff6cbbfa536 (patch) | |
tree | 5654c6c9207802b628005e9fd265f82a636285e7 /include/net/switchdev.h | |
parent | Bluetooth: Fix decrementing reference count twice in releasing socket (diff) | |
download | wireguard-linux-761f1e9f99b2cec66397db59a8f77ff6cbbfa536.tar.xz wireguard-linux-761f1e9f99b2cec66397db59a8f77ff6cbbfa536.zip |
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>
Diffstat (limited to 'include/net/switchdev.h')
0 files changed, 0 insertions, 0 deletions