Linux wireless drivers development
 help / color / mirror / Atom feed
From: Zhu Yi <yi.zhu@intel.com>
To: linville@tuxdriver.com
Cc: linux-wireless@vger.kernel.org,
	Ron Rindjunsky <ron.rindjunsky@intel.com>,
	Tomas Winkler <tomas.winkler@intel.com>,
	Zhu Yi <yi.zhu@intel.com>
Subject: [PATCH 12/13] mac80211: remove unused variable agg_queue
Date: Fri, 18 Jul 2008 13:53:08 +0800	[thread overview]
Message-ID: <1216360389-5352-13-git-send-email-yi.zhu@intel.com> (raw)
In-Reply-To: <1216360389-5352-12-git-send-email-yi.zhu@intel.com>

From: Ron Rindjunsky <ron.rindjunsky@intel.com>

This patch removes unused variable agg_queue from ieee80211_stop_tx_ba_cb.

Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
---
 net/mac80211/main.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/net/mac80211/main.c b/net/mac80211/main.c
index 6fa2336..ff3a514 100644
--- a/net/mac80211/main.c
+++ b/net/mac80211/main.c
@@ -812,7 +812,6 @@ void ieee80211_stop_tx_ba_cb(struct ieee80211_hw *hw, u8 *ra, u8 tid)
 	struct ieee80211_local *local = hw_to_local(hw);
 	struct sta_info *sta;
 	u8 *state;
-	int agg_queue;
 	DECLARE_MAC_BUF(mac);
 
 	if (tid >= STA_TID_NUM) {
@@ -855,8 +854,6 @@ void ieee80211_stop_tx_ba_cb(struct ieee80211_hw *hw, u8 *ra, u8 tid)
 		ieee80211_send_delba(sta->sdata->dev, ra, tid,
 			WLAN_BACK_INITIATOR, WLAN_REASON_QSTA_NOT_USE);
 
-	agg_queue = sta->tid_to_tx_q[tid];
-
 	/* avoid ordering issues: we are the only one that can modify
 	 * the content of the qdiscs */
 	spin_lock_bh(&local->mdev->queue_lock);
-- 
1.5.3.6


  reply	other threads:[~2008-07-18  5:56 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-18  5:52 [PATCH 00/13] iwlwifi driver 07/18 updates Zhu Yi
2008-07-18  5:52 ` [PATCH 01/13] iwlwifi: add power save to 5000 HW Zhu Yi
2008-07-18  5:52   ` [PATCH 02/13] iwlwifi: corrects power_level in sysfs Zhu Yi
2008-07-18  5:52     ` [PATCH 03/13] mac80211: pass dtim_period to low level driver Zhu Yi
2008-07-18  5:53       ` [PATCH 04/13] mac80211: make listen_interval be limited by " Zhu Yi
2008-07-18  5:53         ` [PATCH 05/13] iwlwifi: use dtim_period from association, and set listen_interval Zhu Yi
2008-07-18  5:53           ` [PATCH 06/13] iwlwifi: move iwl4965_mac_ampdu_action to iwl4965-base.c Zhu Yi
2008-07-18  5:53             ` [PATCH 07/13] iwlwifi: move beacon handling " Zhu Yi
2008-07-18  5:53               ` [PATCH 08/13] iwlwifi: move iwl4965_set_pwr_src " Zhu Yi
2008-07-18  5:53                 ` [PATCH 09/13] iwlwifi: rename iwl-4695-rs to iwl-agn-rs Zhu Yi
2008-07-18  5:53                   ` [PATCH 10/13] iwlwifi: kill iwl4965_fill_rs_info Zhu Yi
2008-07-18  5:53                     ` [PATCH 11/13] iwlwifi: set led register in disassociation Zhu Yi
2008-07-18  5:53                       ` Zhu Yi [this message]
2008-07-18  5:53                         ` [PATCH 13/13] iwlwifi: bug fix in AGG flow - cast const to ULL Zhu Yi
2008-07-18  8:23           ` [PATCH 05/13] iwlwifi: use dtim_period from association, and set listen_interval Johannes Berg
2008-07-18  8:53             ` Tomas Winkler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1216360389-5352-13-git-send-email-yi.zhu@intel.com \
    --to=yi.zhu@intel.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=ron.rindjunsky@intel.com \
    --cc=tomas.winkler@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox