Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2008 07:25:04 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r185470 - projects/ath_hal/ar5212
Message-ID:  <200811300725.mAU7P4hO078657@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811300725.mAU7P4hO078657>