diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-agn-tx.c | 3 |
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 522c77f23e04..0fc86c9d8fd4 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) | |||
518 | struct iwl_cmd_meta *out_meta; | 518 | struct iwl_cmd_meta *out_meta; |
519 | struct iwl_tx_cmd *tx_cmd; | 519 | struct iwl_tx_cmd *tx_cmd; |
520 | struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; | 520 | struct iwl_rxon_context *ctx = &priv->contexts[IWL_RXON_CTX_BSS]; |
521 | int swq_id, txq_id; | 521 | int txq_id; |
522 | dma_addr_t phys_addr; | 522 | dma_addr_t phys_addr; |
523 | dma_addr_t txcmd_phys; | 523 | dma_addr_t txcmd_phys; |
524 | dma_addr_t scratch_phys; | 524 | dma_addr_t scratch_phys; |
@@ -620,7 +620,6 @@ int iwlagn_tx_skb(struct iwl_priv *priv, struct sk_buff *skb) | |||
620 | } | 620 | } |
621 | 621 | ||
622 | txq = &priv->txq[txq_id]; | 622 | txq = &priv->txq[txq_id]; |
623 | swq_id = txq->swq_id; | ||
624 | q = &txq->q; | 623 | q = &txq->q; |
625 | 624 | ||
626 | if (unlikely(iwl_queue_space(q) < q->high_mark)) { | 625 | if (unlikely(iwl_queue_space(q) < q->high_mark)) { |