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 Remove unused variable



details:   https://anonhg.NetBSD.org/src/rev/7755b336b8a2
branches:  trunk
changeset: 789880:7755b336b8a2
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 11:44:08 2013 +0000

description:
Remove unused variable

diffstat:

 sys/external/isc/atheros_hal/dist/ar5212/ar2316.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b8c09b392b80 -r 7755b336b8a2 sys/external/isc/atheros_hal/dist/ar5212/ar2316.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar2316.c Thu Sep 12 11:42:26 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar2316.c Thu Sep 12 11:44:08 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: ar2316.c,v 1.2 2009/01/06 06:03:57 mrg Exp $
+ * $Id: ar2316.c,v 1.3 2013/09/12 11:44:08 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -305,13 +305,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;



Home | Main Index | Thread Index | Old Index