]> Pileus Git - ~andy/linux/commitdiff
iwlagn: remove unused variable swq_id
authorJohannes Berg <johannes.berg@intel.com>
Thu, 11 Nov 2010 02:25:42 +0000 (18:25 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Tue, 16 Nov 2010 15:44:57 +0000 (07:44 -0800)
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>
drivers/net/wireless/iwlwifi/iwl-agn-tx.c

index 522c77f23e04dcf3571dcfc7f6014eef18f26752..0fc86c9d8fd4445ffa049f824c37c34430e2f8f5 100644 (file)
@@ -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)) {