mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
Do not bzero() the softc, as newbus does it for us.
This commit is contained in:
parent
550473de5b
commit
0f2f1f7124
5 changed files with 0 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue