summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2013-09-12 12:10:11 +0000
committermartin <martin@NetBSD.org>2013-09-12 12:10:11 +0000
commite9a5d088833929d920afff8f324dc2c6cd78d07d (patch)
tree6ffa54db20ff2d921d0d53f40c8271ce26ef15b3 /sys/dev
parent750b035c3791177edc4cb11ac2003109e821fe13 (diff)
Remove unused variable
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/ath.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index c48d3b400b5..ae686c5aa64 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ath.c,v 1.115 2013/01/27 12:48:56 jmcneill Exp $ */
+/* $NetBSD: ath.c,v 1.116 2013/09/12 12:17:53 martin Exp $ */
/*-
* Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
@@ -41,7 +41,7 @@
__FBSDID("$FreeBSD: src/sys/dev/ath/if_ath.c,v 1.104 2005/09/16 10:09:23 ru Exp $");
#endif
#ifdef __NetBSD__
-__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.115 2013/01/27 12:48:56 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ath.c,v 1.116 2013/09/12 12:17:53 martin Exp $");
#endif
/*
@@ -4353,7 +4353,6 @@ ath_stoprecv(struct ath_softc *sc)
((struct ath_desc *)((char *)(_sc)->sc_rxdma.dd_desc + \
((_pa) - (_sc)->sc_rxdma.dd_desc_paddr)))
struct ath_hal *ah = sc->sc_ah;
- u_int64_t tsf;
ath_hal_stoppcurecv(ah); /* disable PCU */
ath_hal_setrxfilter(ah, 0); /* clear recv filter */
@@ -4366,7 +4365,6 @@ ath_stoprecv(struct ath_softc *sc)
(void *)(uintptr_t) ath_hal_getrxbuf(ah), sc->sc_rxlink);
STAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) {
struct ath_desc *ds = bf->bf_desc;
- tsf = ath_hal_gettsf64(sc->sc_ah);
HAL_STATUS status = ath_hal_rxprocdesc(ah, ds,
bf->bf_daddr, PA2DESC(sc, ds->ds_link),
&ds->ds_rxstat);