Module Name: src
Committed By: martin
Date: Thu Sep 12 12:03:33 UTC 2013
Modified Files:
src/sys/external/isc/atheros_hal/dist/ar5212: ar2317.c
Log Message:
Get rid of unused variables
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
src/sys/external/isc/atheros_hal/dist/ar5212/ar2317.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/ar5212/ar2317.c
diff -u src/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c:1.3 src/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c:1.4
--- src/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c:1.3 Tue Jan 6 06:03:57 2009
+++ src/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c Thu Sep 12 12:03:33 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: ar2317.c,v 1.3 2009/01/06 06:03:57 mrg Exp $
+ * $Id: ar2317.c,v 1.4 2013/09/12 12:03:33 martin Exp $
*/
#include "opt_ah.h"
@@ -282,13 +282,12 @@ ar2317FillVpdTable(uint32_t pdGainIdx, i
const int16_t *pwrList, const int16_t *VpdList,
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 = 0, idxR = 0;
ii = 0;
- jj = 0;
if (numIntercepts < 2)
return AH_FALSE;
@@ -611,14 +610,12 @@ ar2317GetMaxPower(struct ath_hal *ah, co
{
uint32_t ii;
uint16_t Pmax=0,numVpd;
- uint16_t vpdmax;
for (ii=0; ii< MAX_NUM_PDGAINS_PER_CHANNEL; ii++) {
/* work forwards cuase lowest pdGain for highest power */
numVpd = data->pDataPerPDGain[ii].numVpd;
if (numVpd > 0) {
Pmax = data->pDataPerPDGain[ii].pwr_t4[numVpd-1];
- vpdmax = data->pDataPerPDGain[ii].Vpd[numVpd-1];
return(Pmax);
}
}