diff options
author | jhb <jhb@FreeBSD.org> | 2014-06-17 18:10:06 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2014-06-17 18:10:06 +0000 |
commit | de01564f85dd2c8820a72db1ddf2f8d255ce5a95 (patch) | |
tree | ea824c0c40c8932c8b18fab28129f3863704ebf8 /sys/arm | |
parent | 62a8e1478616b326b74025a31370799c935ce0e7 (diff) | |
download | FreeBSD-src-de01564f85dd2c8820a72db1ddf2f8d255ce5a95.zip FreeBSD-src-de01564f85dd2c8820a72db1ddf2f8d255ce5a95.tar.gz |
Don't bother clearing maps for static DMA allocations to NULL. Instead,
leave them as purely opaque values that are only set by bus_dmamem_alloc().
Diffstat (limited to 'sys/arm')
-rw-r--r-- | sys/arm/at91/if_ate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/arm/at91/if_ate.c b/sys/arm/at91/if_ate.c index 100b7be..6b2eabc 100644 --- a/sys/arm/at91/if_ate.c +++ b/sys/arm/at91/if_ate.c @@ -671,7 +671,6 @@ ate_deactivate(struct ate_softc *sc) bus_dmamem_free(sc->rx_tag, sc->rx_buf[i], sc->rx_map[i]); sc->rx_buf[i] = NULL; - sc->rx_map[i] = NULL; } bus_dma_tag_destroy(sc->rx_tag); } |