iwlwifi: make iwl_queue_used return bool
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 14 Nov 2012 21:38:08 +0000 (23:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 19 Nov 2012 14:06:17 +0000 (15:06 +0100)
commit6ca6ebc1606c6fa7e8931445e84f21f4843e3bab
treee07c0939d8298933e04f88fb142482398c82db2c
parent686681b066fed089d14c9cee60d9d95680da6cdb
iwlwifi: make iwl_queue_used return bool

Also, prefer the if(!X) notation over if(X == 0).

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