From: Nicholas Mc Guire Date: Mon, 15 Jun 2015 11:46:43 +0000 (+0300) Subject: ath10k: txrx: remove unreachable negative return check and fixup type X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~246^2~43^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c47df4aa54ee3bfb113a5ae468c8bfb3a6fb7b;p=pandora-kernel.git ath10k: txrx: remove unreachable negative return check and fixup type 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 Signed-off-by: Kalle Valo --- Reading git-diff-tree failed