summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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