svn commit: r185470 - projects/ath_hal/ar5212
Sam Leffler
sam at FreeBSD.org
Sat Nov 29 23:25:04 PST 2008
Author: sam
Date: Sun Nov 30 07:25:03 2008
New Revision: 185470
URL: http://svn.freebsd.org/changeset/base/185470
Log:
purge useless code
Modified:
projects/ath_hal/ar5212/ar5212_xmit.c
Modified: projects/ath_hal/ar5212/ar5212_xmit.c
==============================================================================
--- projects/ath_hal/ar5212/ar5212_xmit.c Sun Nov 30 07:24:36 2008 (r185469)
+++ projects/ath_hal/ar5212/ar5212_xmit.c Sun Nov 30 07:25:03 2008 (r185470)
@@ -548,15 +548,6 @@ ar5212NumTxPending(struct ath_hal *ah, u
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;
}
More information about the svn-src-projects
mailing list