ath6kl: remove redundant check of status != 0
authorColin Ian King <colin.king@canonical.com>
Thu, 4 Apr 2019 13:47:23 +0000 (14:47 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 29 Apr 2019 14:50:10 +0000 (17:50 +0300)
commite643da21e19a62f928fb30f080470ea2e335b7f0
treeac223e5d7801144dd813f04ac5f3b11042351fc9
parent5d6751eaff672ea77642e74e92e6c0ac7f9709ab
ath6kl: remove redundant check of status != 0

The check on status not being zero is redundant as previous code
paths that set status to an error value break out of the while
loop and hence status is never non-zero at the check. Remove
this redundant code.

Addresses-Coverity: ("Logically dead code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Reviewed-by: Mukesh Ojha <mojha@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath6kl/htc_pipe.c