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/f7df9f0f9303
branches:  trunk
changeset: 789882:f7df9f0f9303
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 12:04:37 2013 +0000

description:
Remove unused variable

diffstat:

 sys/external/isc/atheros_hal/dist/ar5212/ar2413.c |  5 ++---
 sys/external/isc/atheros_hal/dist/ar5212/ar2425.c |  5 ++---
 sys/external/isc/atheros_hal/dist/ar5212/ar5413.c |  5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diffs (81 lines):

diff -r 0629cec580ef -r f7df9f0f9303 sys/external/isc/atheros_hal/dist/ar5212/ar2413.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar2413.c Thu Sep 12 12:03:33 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar2413.c Thu Sep 12 12:04:37 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: ar2413.c,v 1.2 2009/01/06 06:03:57 mrg Exp $
+ * $Id: ar2413.c,v 1.3 2013/09/12 12:04:37 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -299,13 +299,12 @@
                   const int16_t *pwrList, const uint16_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;
diff -r 0629cec580ef -r f7df9f0f9303 sys/external/isc/atheros_hal/dist/ar5212/ar2425.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar2425.c Thu Sep 12 12:03:33 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar2425.c Thu Sep 12 12:04:37 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: ar2425.c,v 1.3 2011/02/20 11:21:03 jmcneill Exp $
+ * $Id: ar2425.c,v 1.4 2013/09/12 12:05:52 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -301,13 +301,12 @@
                   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;
diff -r 0629cec580ef -r f7df9f0f9303 sys/external/isc/atheros_hal/dist/ar5212/ar5413.c
--- a/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c Thu Sep 12 12:03:33 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5212/ar5413.c Thu Sep 12 12:04:37 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: ar5413.c,v 1.3 2011/02/20 11:21:03 jmcneill Exp $
+ * $Id: ar5413.c,v 1.4 2013/09/12 12:07:01 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -335,13 +335,12 @@
                   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