svn commit: r224719 - head/sys/dev/ath/ath_hal
Adrian Chadd
adrian at FreeBSD.org
Mon Aug 8 18:05:23 UTC 2011
Author: adrian
Date: Mon Aug 8 18:05:22 2011
New Revision: 224719
URL: http://svn.freebsd.org/changeset/base/224719
Log:
Bitten again by the optional HALDEBUG compilation.
Remove this debugging, it's not needed anymore and when not enabled,
those variables trigger a compiler warning.
Approved by: re (kib, blanket)
Pointy-hat-to: adrian, for not testing a non-debug compile of this code enough
Modified:
head/sys/dev/ath/ath_hal/ah_regdomain.c
Modified: head/sys/dev/ath/ath_hal/ah_regdomain.c
==============================================================================
--- head/sys/dev/ath/ath_hal/ah_regdomain.c Mon Aug 8 17:33:35 2011 (r224718)
+++ head/sys/dev/ath/ath_hal/ah_regdomain.c Mon Aug 8 18:05:22 2011 (r224719)
@@ -835,12 +835,8 @@ void
ath_hal_update_dfsdomain(struct ath_hal *ah)
{
const REG_DOMAIN *rd5GHz = AH_PRIVATE(ah)->ah_rd5GHz;
- HAL_CTRY_CODE cc = ah->ah_countryCode;
HAL_DFS_DOMAIN dfsDomain = HAL_DFS_UNINIT_DOMAIN;
- HAL_REG_DOMAIN regDmn = AH_PRIVATE(ah)->ah_currentRD;
- HALDEBUG(ah, HAL_DEBUG_REGDOMAIN, "%s CC: %d, RegDmn: %d\n",__func__,
- cc, regDmn);
if (rd5GHz->dfsMask & DFS_FCC3)
dfsDomain = HAL_DFS_FCC_DOMAIN;
if (rd5GHz->dfsMask & DFS_ETSI)
More information about the svn-src-all
mailing list