From 10b0f934b6ae23c27d5a09ce4808a4f1edca8330 Mon Sep 17 00:00:00 2001 From: cognet Date: Fri, 9 Jul 2004 13:42:05 +0000 Subject: Newbus returns a zeroed softc, so there's no need to call bzero() here. --- sys/dev/ppbus/pps.c | 2 -- 1 file changed, 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); -- cgit v1.1