Date: Mon, 8 Aug 2011 18:05:22 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r224719 - head/sys/dev/ath/ath_hal Message-ID: <201108081805.p78I5MY8058187@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201108081805.p78I5MY8058187>