iwlwifi: mvm: cleanup redundant assignment
authorSara Sharon <sara.sharon@intel.com>
Thu, 29 Sep 2016 13:07:35 +0000 (16:07 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Thu, 26 Jan 2017 07:39:02 +0000 (09:39 +0200)
This set of station id is redundant - it is being initialised
above.

Signed-off-by: Sara Sharon <sara.sharon@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/utils.c

index 2beea3b..26b853e 100644 (file)
@@ -693,10 +693,6 @@ void iwl_mvm_enable_txq(struct iwl_mvm *mvm, int queue, int mac80211_queue,
                        .tid = cfg->tid,
                };
 
-               /* Set sta_id in the command, if it exists */
-               if (iwl_mvm_is_dqa_supported(mvm))
-                       cmd.sta_id = cfg->sta_id;
-
                iwl_trans_txq_enable_cfg(mvm->trans, queue, ssn, NULL,
                                         wdg_timeout);
                WARN(iwl_mvm_send_cmd_pdu(mvm, SCD_QUEUE_CFG, 0, sizeof(cmd),