Thread (1 message) 1 message, 1 author, 2015-06-16

Re: [PATCH] ath10k: txrx: remove unreachable negative return check and fixup type

From: Kalle Valo <hidden>
Date: 2015-06-16 10:16:40
Also in: lkml, netdev

Nicholas Mc Guire [off-list ref] writes:
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 <redacted>
Thanks, applied.

-- 
Kalle Valo
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help