iwlwifi: mvm: remove is_data_qos variable in TX
authorJohannes Berg <johannes.berg@intel.com>
Wed, 16 Mar 2016 08:29:48 +0000 (09:29 +0100)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 30 Mar 2016 13:21:24 +0000 (16:21 +0300)
commit7ec54716e71a846dddf6aa1e33a12e1dcca6d276
tree80400fb41e4f84757a80d524865566307a12abe2
parent2d3d31b562dd060cbc7a163fd824421d0ebeaadf
iwlwifi: mvm: remove is_data_qos variable in TX

"is_data_qos == true" is equivalent to "tid < IWL_MAX_TID_COUNT"
since tid is only assigned (and range-checked) in that case.

This removes a (harmless) smatch warning that occurs because it
can't seem to follow the above logic from the code.

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