Remove useless initialization.
This commit is contained in:
parent
9e7313bba7
commit
5353c9b6ba
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=113036
@ -701,7 +701,6 @@ fxp_attach(device_t dev)
|
||||
sc->fxp_desc.rx_head = sc->fxp_desc.rx_tail = NULL;
|
||||
for (i = 0; i < FXP_NRFABUFS; i++) {
|
||||
rxp = &sc->fxp_desc.rx_list[i];
|
||||
rxp->rx_mbuf = NULL;
|
||||
error = bus_dmamap_create(sc->fxp_mtag, 0, &rxp->rx_map);
|
||||
if (error) {
|
||||
device_printf(dev, "can't create DMA map for RX\n");
|
||||
|
Loading…
Reference in New Issue
Block a user