aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2010-11-10 18:25:42 -0800
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2010-11-16 07:44:57 -0800
commit8d56396ac3926412dd97dcb9dd8d0cef556b908e (patch)
tree8a643ceff79ff5729dade81ce4b911eb4a6802dc /drivers/net
parent76f379cec6df6c9c5c9dbf7377d1bbbb0bf3fd5f (diff)
downloadkernel_samsung_smdk4412-8d56396ac3926412dd97dcb9dd8d0cef556b908e.zip
kernel_samsung_smdk4412-8d56396ac3926412dd97dcb9dd8d0cef556b908e.tar.gz
kernel_samsung_smdk4412-8d56396ac3926412dd97dcb9dd8d0cef556b908e.tar.bz2
iwlagn: remove unused variable swq_id
Simply remove the unused variable swq_id. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-tx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
index 522c77f..0fc86c9 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-tx.c
@@ -518,7 +518,7 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
struct iwl_cmd_meta *out_meta;
struct iwl_tx_cmd *tx_cmd;
struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS];
- int swq_id, txq_id;
+ int txq_id;
dma_addr_t phys_addr;
dma_addr_t txcmd_phys;
dma_addr_t scratch_phys;
@@ -620,7 +620,6 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb)
}
txq = &priv->txq[txq_id];
- swq_id = txq->swq_id;
q = &txq->q;
if (unlikely(iwl_queue_space(q) < q->high_mark)) {