Do not bzero() the softc, as newbus does it for us.

This commit is contained in:
Olivier Houchard 2004-07-09 16:56:46 +00:00
parent 550473de5b
commit 0f2f1f7124
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131882
5 changed files with 0 additions and 5 deletions

View File

@ -201,7 +201,6 @@ lp_probe(device_t dev)
uintptr_t irq;
lp = DEVTOSOFTC(dev);
bzero(lp, sizeof(struct lp_data));
/* retrieve the ppbus irq */
BUS_READ_IVAR(ppbus, dev, PPBUS_IVAR_IRQ, &irq);

View File

@ -356,7 +356,6 @@ lpt_probe(device_t dev)
struct lpt_data *sc;
sc = DEVTOSOFTC(dev);
bzero(sc, sizeof(struct lpt_data));
/*
* Now, try to detect the printer.

View File

@ -133,7 +133,6 @@ pcfclock_probe(device_t dev)
device_set_desc(dev, "PCF-1.0");
sc = DEVTOSOFTC(dev);
bzero(sc, sizeof(struct pcfclock_data));
return (0);
}

View File

@ -152,7 +152,6 @@ ppi_probe(device_t dev)
device_set_desc(dev, "Parallel I/O");
ppi = DEVTOSOFTC(dev);
bzero(ppi, sizeof(struct ppi_data));
return (0);
}

View File

@ -107,7 +107,6 @@ vpo_probe(device_t dev)
int error;
vpo = DEVTOSOFTC(dev);
bzero(vpo, sizeof(struct vpo_data));
/* vpo dependent initialisation */
vpo->vpo_unit = device_get_unit(dev);