diff options
author | cognet <cognet@FreeBSD.org> | 2004-07-09 13:42:05 +0000 |
---|---|---|
committer | cognet <cognet@FreeBSD.org> | 2004-07-09 13:42:05 +0000 |
commit | 10b0f934b6ae23c27d5a09ce4808a4f1edca8330 (patch) | |
tree | 7d2c89e19c83180aa9babb3306b288b9f4091b52 /sys | |
parent | a4be9872994c1e669281f30738a47764ceb240a6 (diff) | |
download | FreeBSD-src-10b0f934b6ae23c27d5a09ce4808a4f1edca8330.zip FreeBSD-src-10b0f934b6ae23c27d5a09ce4808a4f1edca8330.tar.gz |
Newbus returns a zeroed softc, so there's no need to call bzero() here.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ppbus/pps.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c index 2b86cd7..033d1fe 100644 --- a/sys/dev/ppbus/pps.c +++ b/sys/dev/ppbus/pps.c @@ -110,8 +110,6 @@ ppsattach(device_t dev) intptr_t irq; int i, unit, zero = 0; - bzero(sc, sizeof(struct pps_data)); /* XXX doesn't newbus do this? */ - /* retrieve the ppbus irq */ BUS_READ_IVAR(ppbus, dev, PPBUS_IVAR_IRQ, &irq); |