From 894740634d8919827917f591672d06848240993b Mon Sep 17 00:00:00 2001 From: coypu Date: Sat, 17 Sep 2016 08:15:54 +0300 Subject: [PATCH 18/27] squash set but unused --- sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c | 6 ------ sys/external/isc/atheros_hal/dist/ar5212/ar5413.c | 3 +-- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c index 2017fda..73adaa4 100644 --- a/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c +++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5212_reset.c @@ -732,12 +732,6 @@ ar5212ChannelChange(struct ath_hal *ah, const struct ieee80211_channel *chan) uint32_t data, synthDelay, qnum; uint16_t rfXpdGain[MAX_NUM_PDGAINS_PER_CHANNEL]; HAL_BOOL txStopped = AH_TRUE; - HAL_CHANNEL_INTERNAL *ichan; - - /* - * Map public channel to private. - */ - ichan = ath_hal_checkchannel(ah, chan); /* TX must be stopped or RF Bus grant will not work */ for (qnum = 0; qnum < AH_PRIVATE(ah)->ah_caps.halTotalQueues; qnum++) { diff --git a/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c b/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c index ab6cc65..cdf50dc 100644 --- a/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c +++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c @@ -336,13 +336,12 @@ ar5413FillVpdTable(uint32_t pdGainIdx, int16_t Pmin, int16_t Pmax, uint16_t numIntercepts, uint16_t retVpdList[][64]) { - uint16_t ii, jj, kk; + uint16_t ii, kk; int16_t currPwr = (int16_t)(2*Pmin); /* since Pmin is pwr*2 and pwrList is 4*pwr */ uint32_t idxL, idxR; ii = 0; - jj = 0; if (numIntercepts < 2) return AH_FALSE; -- 2.9.3