Module Name: src
Committed By: martin
Date: Thu Sep 12 12:10:11 UTC 2013
Modified Files:
src/sys/external/isc/atheros_hal/dist/ar5416: ar9280_attach.c
Log Message:
Remove unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/isc/atheros_hal/dist/ar5416/ar9280_attach.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/ar9280_attach.c
diff -u src/sys/external/isc/atheros_hal/dist/ar5416/ar9280_attach.c:1.2 src/sys/external/isc/atheros_hal/dist/ar5416/ar9280_attach.c:1.3
--- src/sys/external/isc/atheros_hal/dist/ar5416/ar9280_attach.c:1.2 Mon Feb 21 11:06:38 2011
+++ src/sys/external/isc/atheros_hal/dist/ar5416/ar9280_attach.c Thu Sep 12 12:10:11 2013
@@ -306,13 +306,12 @@ ar9280ConfigPCIE(struct ath_hal *ah, HAL
static void
ar9280WriteIni(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan)
{
- u_int modesIndex, freqIndex;
+ u_int modesIndex;
int regWrites = 0;
/* Setup the indices for the next set of register array writes */
/* XXX Ignore 11n dynamic mode on the AR5416 for the moment */
if (IS_CHAN_2GHZ(chan)) {
- freqIndex = 2;
if (IS_CHAN_HT40(chan))
modesIndex = 3;
else if (IS_CHAN_108G(chan))
@@ -320,7 +319,6 @@ ar9280WriteIni(struct ath_hal *ah, HAL_C
else
modesIndex = 4;
} else {
- freqIndex = 1;
if (IS_CHAN_HT40(chan) ||
IS_CHAN_TURBO(chan))
modesIndex = 2;