]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: pcie: remove useless condition test
authorJohannes Berg <johannes.berg@intel.com>
Thu, 31 Oct 2013 17:30:38 +0000 (18:30 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 9 Dec 2013 20:29:01 +0000 (22:29 +0200)
commit82836cf4012349367c36715e622d03ddad0631b8
tree8e3e9b2d7ca61b738b5d2d776e3344a5863b54d9
parent1faa299f0615822239e09bc30e1a6ee4fe7abd48
iwlwifi: pcie: remove useless condition test

After wait_event_timeout(), the condition must still be
true if it returns >0, in fact almost the last thing in
it is checking the condition again. It's therefore not
useful to check yet again in our code, clean it up.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c