]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
arge: Remove the debugging printf that snuck in.
authoradrian <adrian@FreeBSD.org>
Wed, 21 Oct 2015 05:52:04 +0000 (05:52 +0000)
committeradrian <adrian@FreeBSD.org>
Wed, 21 Oct 2015 05:52:04 +0000 (05:52 +0000)
This was triggering when using it as an AP bridge rather than an ethernet
bridge.

The code is unclear but it works; I'll fix it to be clearer and test
performance at a later stage.

sys/mips/atheros/if_arge.c

index 7a3efff6d327959e896e650ba91973aaa171a8ed..e91f08542f058c26f77663aaf7ca66b9ebece1eb 100644 (file)
@@ -2195,11 +2195,6 @@ arge_newbuf(struct arge_softc *sc, int idx)
        rxd = &sc->arge_cdata.arge_rxdesc[idx];
        if (rxd->rx_m != NULL) {
                bus_dmamap_unload(sc->arge_cdata.arge_rx_tag, rxd->rx_dmamap);
-               /* XXX TODO: free rx_m? */
-               device_printf(sc->arge_dev,
-                   "%s: ring[%d] rx_m wasn't free?\n",
-                   __func__,
-                   idx);
        }
        map = rxd->rx_dmamap;
        rxd->rx_dmamap = sc->arge_cdata.arge_rx_sparemap;