aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-tx.c
diff options
context:
space:
mode:
authorZhu, Yi <yi.zhu@intel.com>2008-11-12 16:14:10 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-11-25 16:41:20 -0500
commit34faf780cf342b2c83ae40a2eecf33e55f7002a5 (patch)
treeef9d0152b891b1092ddb289e87cbee651eec8dba /drivers/net/wireless/iwlwifi/iwl-tx.c
parent352bc8de19a7e5e065d422825e226e8e80cd6576 (diff)
iwlwifi: some fh document fix and cleanup
This patch cleans up some flow handler related document. It also removes some blank lines. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Acked-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-tx.c')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-tx.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-tx.c b/drivers/net/wireless/iwlwifi/iwl-tx.c
index d9638d75a970..9f0705bcd03a 100644
--- a/drivers/net/wireless/iwlwifi/iwl-tx.c
+++ b/drivers/net/wireless/iwlwifi/iwl-tx.c
@@ -587,8 +587,6 @@ int iwl_txq_ctx_reset(struct iwl_priv *priv)
587 iwl_release_nic_access(priv); 587 iwl_release_nic_access(priv);
588 spin_unlock_irqrestore(&priv->lock, flags); 588 spin_unlock_irqrestore(&priv->lock, flags);
589 589
590
591
592 /* Alloc and init all Tx queues, including the command queue (#4) */ 590 /* Alloc and init all Tx queues, including the command queue (#4) */
593 for (txq_id = 0; txq_id < priv->hw_params.max_txq_num; txq_id++) { 591 for (txq_id = 0; txq_id < priv->hw_params.max_txq_num; txq_id++) {
594 slots_num = (txq_id == IWL_CMD_QUEUE_NUM) ? 592 slots_num = (txq_id == IWL_CMD_QUEUE_NUM) ?
@@ -618,11 +616,9 @@ int iwl_txq_ctx_reset(struct iwl_priv *priv)
618 */ 616 */
619void iwl_txq_ctx_stop(struct iwl_priv *priv) 617void iwl_txq_ctx_stop(struct iwl_priv *priv)
620{ 618{
621
622 int txq_id; 619 int txq_id;
623 unsigned long flags; 620 unsigned long flags;
624 621
625
626 /* Turn off all Tx DMA fifos */ 622 /* Turn off all Tx DMA fifos */
627 spin_lock_irqsave(&priv->lock, flags); 623 spin_lock_irqsave(&priv->lock, flags);
628 if (iwl_grab_nic_access(priv)) { 624 if (iwl_grab_nic_access(priv)) {