summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-08-08 18:05:22 +0000
committeradrian <adrian@FreeBSD.org>2011-08-08 18:05:22 +0000
commit1f354293d24aaeb01860e4c5c6734316e33e45a0 (patch)
treeac978ebd1dc6c0f124a4f8ee7a73dcf40a9bfe25
parent2abb24d34f7b38304b4f85fd62f29b87a984577a (diff)
downloadFreeBSD-src-1f354293d24aaeb01860e4c5c6734316e33e45a0.zip
FreeBSD-src-1f354293d24aaeb01860e4c5c6734316e33e45a0.tar.gz
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
-rw-r--r--sys/dev/ath/ath_hal/ah_regdomain.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ath/ath_hal/ah_regdomain.c b/sys/dev/ath/ath_hal/ah_regdomain.c
index 64e11ca..7298c6b 100644
--- a/sys/dev/ath/ath_hal/ah_regdomain.c
+++ b/sys/dev/ath/ath_hal/ah_regdomain.c
@@ -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)
OpenPOWER on IntegriCloud