commit | 51f60b8b6979da361c97602d6b6df3c3f72c7c4c | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Tue Feb 28 11:14:39 2017 +0000 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Thu Mar 16 10:56:46 2017 +0200 |
tree | 38aec006d541e00c9f6eff96c1d9adaea3ff7d00 | |
parent | 45c3d550b0684343b9d4b25aeec9b49c6effc1f9 [diff] |
ath10k: remove redundant error check The check on ret for an error is redundant because it is already been checked for non-zero earlier on and ret is never non-zero at this point. Fix this by removing the redundant check and error message. Detected by CoverityScan, CID#1357170 ("Logically Dead Code") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>