Module Name: src Committed By: martin Date: Thu Sep 12 12:17:53 UTC 2013
Modified Files: src/sys/dev/ic: ath.c Log Message: Remove unused variable To generate a diff of this commit: cvs rdiff -u -r1.115 -r1.116 src/sys/dev/ic/ath.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/ath.c diff -u src/sys/dev/ic/ath.c:1.115 src/sys/dev/ic/ath.c:1.116 --- src/sys/dev/ic/ath.c:1.115 Sun Jan 27 12:48:56 2013 +++ src/sys/dev/ic/ath.c Thu Sep 12 12:17:53 2013 @@ -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);