ath10k: fixup wait_for_completion_timeout return handling
authorNicholas Mc Guire <der.herr@hofr.at>
Thu, 8 Jan 2015 12:27:34 +0000 (13:27 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Jan 2015 14:19:59 +0000 (16:19 +0200)
commit38e2a644174e74f948ec4415ae5b5c76f1412b0e
tree250fa81bc6fd1c503b2c5aafddc527fe163a11fd
parent49274332a43a70b3a3f40ba6db14d9c0677e8e02
ath10k: fixup wait_for_completion_timeout return handling

wait_for_completion_timeout does not return negative values so the tests
for <= 0 are not needed and the case differentiation in the error handling
path unnecessary.

Signed-off-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/htc.c
drivers/net/wireless/ath/ath10k/htt.c
drivers/net/wireless/ath/ath10k/mac.c