Module Name:    src
Committed By:   martin
Date:           Thu Sep 12 12:11:12 UTC 2013

Modified Files:
        src/sys/external/isc/atheros_hal/dist/ar5416: ar9285_attach.c

Log Message:
Remove unused variable


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
    src/sys/external/isc/atheros_hal/dist/ar5416/ar9285_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/ar9285_attach.c
diff -u src/sys/external/isc/atheros_hal/dist/ar5416/ar9285_attach.c:1.1 src/sys/external/isc/atheros_hal/dist/ar5416/ar9285_attach.c:1.2
--- src/sys/external/isc/atheros_hal/dist/ar5416/ar9285_attach.c:1.1	Mon Feb 21 11:06:38 2011
+++ src/sys/external/isc/atheros_hal/dist/ar5416/ar9285_attach.c	Thu Sep 12 12:11:12 2013
@@ -291,12 +291,11 @@ ar9285ConfigPCIE(struct ath_hal *ah, HAL
 static void
 ar9285WriteIni(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 */
-	freqIndex = 2;
 	if (IS_CHAN_HT40(chan))
 		modesIndex = 3;
 	else if (IS_CHAN_108G(chan))

Reply via email to