Merge tag 'pinctrl-v4.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[linux-2.6-block.git] / drivers / net / wireless / intel / iwlwifi / mvm / sta.c
index d3a0378b547fbba3a59064cacdd5a51e14215dd0..fc771885e3831b17f589a688f359ac7e8c40cbfe 100644 (file)
@@ -933,7 +933,7 @@ static void iwl_mvm_unshare_queue(struct iwl_mvm *mvm, int queue)
 
        /* If aggs should be turned back on - do it */
        if (mvmsta->tid_data[tid].state == IWL_AGG_ON) {
-               struct iwl_mvm_add_sta_cmd cmd;
+               struct iwl_mvm_add_sta_cmd cmd = {0};
 
                mvmsta->tid_disable_agg &= ~BIT(tid);
 
@@ -1297,13 +1297,6 @@ err:
        return ret;
 }
 
-int iwl_mvm_update_sta(struct iwl_mvm *mvm,
-                      struct ieee80211_vif *vif,
-                      struct ieee80211_sta *sta)
-{
-       return iwl_mvm_sta_send_to_fw(mvm, sta, true, 0);
-}
-
 int iwl_mvm_drain_sta(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta,
                      bool drain)
 {