aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2015-06-15 14:46:43 +0300
committerKalle Valo <[email protected]>2015-06-16 13:14:26 +0300
commitd4298a3a8c92a18d375e55feecc60e4eefeb45e3 (patch)
tree6a153dd82e59ca8f0da1c0ac34648e287d3e7e5e /tools/perf/scripts/python
parent404d67ef2935c5e41d3d7a403c5fb1c278eff60e (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 <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions