summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ar5212/ar5212_xmit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ar5212/ar5212_xmit.c b/ar5212/ar5212_xmit.c
index 43c912b..8b4f85c 100644
--- a/ar5212/ar5212_xmit.c
+++ b/ar5212/ar5212_xmit.c
@@ -548,15 +548,6 @@ ar5212NumTxPending(struct ath_hal *ah, u_int q)
if (OS_REG_READ(ah, AR_Q_TXE) & (1 << q))
npend = 1; /* arbitrarily return 1 */
}
-#ifdef AH_DEBUG
- if (npend && (AH5212(ah)->ah_txq[q].tqi_type == HAL_TX_QUEUE_CAB)) {
- if (OS_REG_READ(ah, AR_Q_RDYTIMESHDN) & (1 << q)) {
- ath_hal_printf(ah, "RTSD on CAB queue\n");
- /* Clear the ReadyTime shutdown status bits */
- OS_REG_WRITE(ah, AR_Q_RDYTIMESHDN, 1 << q);
- }
- }
-#endif
return npend;
}
OpenPOWER on IntegriCloud