Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/isc/atheros_hal/dist/ar5212 Get rid of unused v...
details: https://anonhg.NetBSD.org/src/rev/0629cec580ef
branches: trunk
changeset: 789881:0629cec580ef
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 12:03:33 2013 +0000
description:
Get rid of unused variables
diffstat:
sys/external/isc/atheros_hal/dist/ar5212/ar2317.c | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diffs (42 lines):
diff -r 7755b336b8a2 -r 0629cec580ef sys/external/isc/atheros_hal/dist/ar5212/ar2317.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c Thu Sep 12 11:44:08 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar2317.c Thu Sep 12 12:03:33 2013 +0000
@@ -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 @@
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 @@
{
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);
}
}
Home |
Main Index |
Thread Index |
Old Index