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) _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"