Remove useless initialization.

This commit is contained in:
Maxime Henrion 2003-04-03 20:39:43 +00:00
parent 9e7313bba7
commit 5353c9b6ba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113036

View File

@ -701,7 +701,6 @@ fxp_attach(device_t dev)
sc->fxp_desc.rx_head = sc->fxp_desc.rx_tail = NULL; sc->fxp_desc.rx_head = sc->fxp_desc.rx_tail = NULL;
for (i = 0; i < FXP_NRFABUFS; i++) { for (i = 0; i < FXP_NRFABUFS; i++) {
rxp = &sc->fxp_desc.rx_list[i]; rxp = &sc->fxp_desc.rx_list[i];
rxp->rx_mbuf = NULL;
error = bus_dmamap_create(sc->fxp_mtag, 0, &rxp->rx_map); error = bus_dmamap_create(sc->fxp_mtag, 0, &rxp->rx_map);
if (error) { if (error) {
device_printf(dev, "can't create DMA map for RX\n"); device_printf(dev, "can't create DMA map for RX\n");