diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-01-25 08:54:40 -0500 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-02-01 08:39:08 -0500 |
commit | e885c58bf88248a7e033749f532c3718442de22a (patch) | |
tree | 7b441ab574757588f8729d96bf345dbdc0c23594 /drivers/net/wireless/iwlwifi/pcie/tx.c | |
parent | 5523d11cc46393a1e61b7ef4a0b2d4e7ed9521e4 (diff) |
iwlwifi: pcie: don't dump useless data when a TFD queue hangs
Printing all the scratch data of the TFDs of that queue is
useless and stuffed the kernel log with data. Remove that.
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/pcie/tx.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/tx.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/tx.c b/drivers/net/wireless/iwlwifi/pcie/tx.c index d40cd4a67d6e..6c7bfe8905ca 100644 --- a/drivers/net/wireless/iwlwifi/pcie/tx.c +++ b/drivers/net/wireless/iwlwifi/pcie/tx.c | |||
@@ -147,7 +147,6 @@ static void iwl_pcie_free_dma_ptr(struct iwl_trans *trans, | |||
147 | static void iwl_pcie_txq_stuck_timer(unsigned long data) | 147 | static void iwl_pcie_txq_stuck_timer(unsigned long data) |
148 | { | 148 | { |
149 | struct iwl_txq *txq = (void *)data; | 149 | struct iwl_txq *txq = (void *)data; |
150 | struct iwl_queue *q = &txq->q; | ||
151 | struct iwl_trans_pcie *trans_pcie = txq->trans_pcie; | 150 | struct iwl_trans_pcie *trans_pcie = txq->trans_pcie; |
152 | struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); | 151 | struct iwl_trans *trans = iwl_trans_pcie_get_trans(trans_pcie); |
153 | u32 scd_sram_addr = trans_pcie->scd_base_addr + | 152 | u32 scd_sram_addr = trans_pcie->scd_base_addr + |
@@ -198,11 +197,6 @@ static void iwl_pcie_txq_stuck_timer(unsigned long data) | |||
198 | iwl_read_prph(trans, SCD_QUEUE_WRPTR(i))); | 197 | iwl_read_prph(trans, SCD_QUEUE_WRPTR(i))); |
199 | } | 198 | } |
200 | 199 | ||
201 | for (i = q->read_ptr; i != q->write_ptr; | ||
202 | i = iwl_queue_inc_wrap(i)) | ||
203 | IWL_ERR(trans, "scratch %d = 0x%08x\n", i, | ||
204 | le32_to_cpu(txq->scratchbufs[i].scratch)); | ||
205 | |||
206 | iwl_force_nmi(trans); | 200 | iwl_force_nmi(trans); |
207 | } | 201 | } |
208 | 202 | ||