summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-03-26 04:53:40 +0000
committeradrian <adrian@FreeBSD.org>2013-03-26 04:53:40 +0000
commita1670a2eb0fc20409f62f6d5944e2701b602886e (patch)
tree373ad8daad0f94fde62c3b7cd1521bcee0b96859
parent416044d85e6681c52345d23238e3d08d2ee703b5 (diff)
downloadFreeBSD-src-a1670a2eb0fc20409f62f6d5944e2701b602886e.zip
FreeBSD-src-a1670a2eb0fc20409f62f6d5944e2701b602886e.tar.gz
Remove this dead code - it's no longer relevant (as yes, we do actually
support TX on EDMA chips.)
-rw-r--r--sys/dev/ath/if_ath_tx_edma.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/ath/if_ath_tx_edma.c b/sys/dev/ath/if_ath_tx_edma.c
index 24bd039..701779c 100644
--- a/sys/dev/ath/if_ath_tx_edma.c
+++ b/sys/dev/ath/if_ath_tx_edma.c
@@ -318,14 +318,6 @@ ath_edma_xmit_handoff(struct ath_softc *sc, struct ath_txq *txq,
ath_edma_xmit_handoff_mcast(sc, txq, bf);
else
ath_edma_xmit_handoff_hw(sc, txq, bf);
-
-#if 0
- /*
- * XXX For now this is a placeholder; free the buffer
- * and inform the stack that the TX failed.
- */
- ath_tx_default_comp(sc, bf, 1);
-#endif
}
static int
OpenPOWER on IntegriCloud