summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ppbus/if_plip.c1
-rw-r--r--sys/dev/ppbus/lpt.c1
-rw-r--r--sys/dev/ppbus/pcfclock.c1
-rw-r--r--sys/dev/ppbus/ppi.c1
-rw-r--r--sys/dev/ppbus/vpo.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index 9805e0b..a684656 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -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);
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index f3f2c1d..3b978d7 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -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.
diff --git a/sys/dev/ppbus/pcfclock.c b/sys/dev/ppbus/pcfclock.c
index 0219220..58bbf2c 100644
--- a/sys/dev/ppbus/pcfclock.c
+++ b/sys/dev/ppbus/pcfclock.c
@@ -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);
}
diff --git a/sys/dev/ppbus/ppi.c b/sys/dev/ppbus/ppi.c
index b537c88..77a8f8f 100644
--- a/sys/dev/ppbus/ppi.c
+++ b/sys/dev/ppbus/ppi.c
@@ -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);
}
diff --git a/sys/dev/ppbus/vpo.c b/sys/dev/ppbus/vpo.c
index 50ebf81..f01c0d1 100644
--- a/sys/dev/ppbus/vpo.c
+++ b/sys/dev/ppbus/vpo.c
@@ -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);
OpenPOWER on IntegriCloud