Module Name: src Committed By: martin Date: Thu Sep 12 12:08:49 UTC 2013
Modified Files: src/sys/external/isc/atheros_hal/dist/ar5416: ar5416_beacon.c Log Message: Remove unsued variable To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c diff -u src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c:1.1.1.1 src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c:1.2 --- src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c:1.1.1.1 Thu Dec 11 04:46:47 2008 +++ src/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c Thu Sep 12 12:08:49 2013 @@ -14,7 +14,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: ar5416_beacon.c,v 1.1.1.1 2008/12/11 04:46:47 alc Exp $ + * $Id: ar5416_beacon.c,v 1.2 2013/09/12 12:08:49 martin Exp $ */ #include "opt_ah.h" @@ -138,7 +138,7 @@ ar5416ResetStaBeaconTimers(struct ath_ha void ar5416SetStaBeaconTimers(struct ath_hal *ah, const HAL_BEACON_STATE *bs) { - uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod; + uint32_t nextTbtt,beaconintval, dtimperiod; HALASSERT(bs->bs_intval != 0); @@ -214,7 +214,6 @@ ar5416SetStaBeaconTimers(struct ath_hal nextTbtt = bs->bs_nextdtim; else nextTbtt = bs->bs_nexttbtt; - nextdtim = bs->bs_nextdtim; OS_REG_WRITE(ah, AR_NEXT_DTIM, TU_TO_USEC(bs->bs_nextdtim - SLEEP_SLOP));