Remove unnecessary softc bzero calls.
This commit is contained in:
parent
08ee4c087b
commit
a52882e010
@ -65,7 +65,6 @@ fdc_isa_probe(device_t dev)
|
||||
struct fdc_data *fdc;
|
||||
|
||||
fdc = device_get_softc(dev);
|
||||
bzero(fdc, sizeof *fdc);
|
||||
fdc->fdc_dev = dev;
|
||||
fdc->fdctl_wr = fdctl_wr_isa;
|
||||
|
||||
|
@ -59,7 +59,6 @@ fdc_pccard_probe(device_t dev)
|
||||
return ENXIO;
|
||||
|
||||
fdc = device_get_softc(dev);
|
||||
bzero(fdc, sizeof *fdc);
|
||||
fdc->fdc_dev = dev;
|
||||
fdc->fdctl_wr = fdctl_wr_pcmcia;
|
||||
fdc->flags = FDC_ISPCMCIA | FDC_NODMA;
|
||||
|
Loading…
Reference in New Issue
Block a user