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/ar5416 Remove unsued variable



details:   https://anonhg.NetBSD.org/src/rev/d1946a4f871a
branches:  trunk
changeset: 789883:d1946a4f871a
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Sep 12 12:08:49 2013 +0000

description:
Remove unsued variable

diffstat:

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

diffs (29 lines):

diff -r f7df9f0f9303 -r d1946a4f871a sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c
--- a/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c  Thu Sep 12 12:04:37 2013 +0000
+++ b/sys/external/isc/atheros_hal/dist/ar5416/ar5416_beacon.c  Thu Sep 12 12:08:49 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: ar5416_beacon.c,v 1.1.1.1 2008/12/11 04:46:47 alc Exp $
+ * $Id: ar5416_beacon.c,v 1.2 2013/09/12 12:08:49 martin Exp $
  */
 #include "opt_ah.h"
 
@@ -138,7 +138,7 @@
 void
 ar5416SetStaBeaconTimers(struct ath_hal *ah, const HAL_BEACON_STATE *bs)
 {
-       uint32_t nextTbtt, nextdtim,beaconintval, dtimperiod;
+       uint32_t nextTbtt,beaconintval, dtimperiod;
 
        HALASSERT(bs->bs_intval != 0);
        
@@ -214,7 +214,6 @@
                nextTbtt = bs->bs_nextdtim;
        else
                nextTbtt = bs->bs_nexttbtt;
-       nextdtim = bs->bs_nextdtim;
 
        OS_REG_WRITE(ah, AR_NEXT_DTIM,
                TU_TO_USEC(bs->bs_nextdtim - SLEEP_SLOP));



Home | Main Index | Thread Index | Old Index