ath10k: remove redundant error check

Kalle Valo kvalo at
Thu Mar 16 01:57:51 PDT 2017

Colin Ian King <colin.king at> wrote:
> From: Colin Ian King <colin.king at>
> 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 at>

Patch applied to ath-next branch of ath.git, thanks.

51f60b8b6979 ath10k: remove redundant error check


Documentation about submitting wireless patches and checking status
from patchwork:

More information about the ath10k mailing list