aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndriy Voskoboinyk <avos@FreeBSD.org>2016-09-30 13:37:50 +0000
committerAndriy Voskoboinyk <avos@FreeBSD.org>2016-09-30 13:37:50 +0000
commitd6c3624cce63663271eb47bdfcaf84bc3817cbc9 (patch)
tree057f72f18c8c33c23c7a62b7873de18f893aa4a0
parent7c10d87b786f3c6d7fac85edf5925e9a92ef872d (diff)
downloadsrc-d6c3624cce63663271eb47bdfcaf84bc3817cbc9.tar.gz
src-d6c3624cce63663271eb47bdfcaf84bc3817cbc9.zip
ral (rt2860): eliminate duplicate ieee80211_process_callback() call
(left after r287197) MFC after: 1 week
Notes
Notes: svn path=/head/; revision=306498
-rw-r--r--sys/dev/ral/rt2860.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/ral/rt2860.c b/sys/dev/ral/rt2860.c
index 1b15a0f62efc..942431ac5f56 100644
--- a/sys/dev/ral/rt2860.c
+++ b/sys/dev/ral/rt2860.c
@@ -1140,10 +1140,6 @@ rt2860_tx_intr(struct rt2860_softc *sc, int qid)
bus_dmamap_sync(sc->txwi_dmat, data->map,
BUS_DMASYNC_POSTWRITE);
bus_dmamap_unload(sc->txwi_dmat, data->map);
- if (data->m->m_flags & M_TXCB) {
- ieee80211_process_callback(data->ni, data->m,
- 0);
- }
ieee80211_tx_complete(data->ni, data->m, 0);
data->ni = NULL;
data->m = NULL;