From df5f1b29c53b7d1f433efd9335c555a2e5ec8fb2 Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 08:41:11 +0300 Subject: [PATCH 23/27] squash set but unused --- sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c index 6691c11..c64c23f 100644 --- a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c +++ b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c @@ -150,7 +150,7 @@ ar5416ResetStaBeaconTimers(struct ath_hal *ah) 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); @@ -245,7 +245,6 @@ ar5416SetStaBeaconTimers(struct ath_hal *ah, const HAL_BEACON_STATE *bs) 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)); -- 2.9.3