Skip to content
Commit 51f60b8b authored by Colin Ian King's avatar Colin Ian King Committed by Kalle Valo
Browse files

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: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 45c3d550
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment