commit | d4298a3a8c92a18d375e55feecc60e4eefeb45e3 | [log] [tgz] |
---|---|---|
author | Nicholas Mc Guire <hofrat@osadl.org> | Mon Jun 15 14:46:43 2015 +0300 |
committer | Kalle Valo <kvalo@qca.qualcomm.com> | Tue Jun 16 13:14:26 2015 +0300 |
tree | 6a153dd82e59ca8f0da1c0ac34648e287d3e7e5e | |
parent | 404d67ef2935c5e41d3d7a403c5fb1c278eff60e [diff] |
ath10k: mac: remove unreachable negative return check wait_event_timeout(), introduced in 'commit 5e3dd157d7e7 ("ath10k: mac80211 driver for Qualcomm Atheros 802.11ac CQA98xx devices")' never returns < 0 so the only failure condition to be checked is ==0 (timeout). Further the return type is long not int - an appropriately named variable is added and the assignments fixed up. Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>