summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/pps.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-03-13 16:22:18 +0000
committerphk <phk@FreeBSD.org>1999-03-13 16:22:18 +0000
commitb2f414d450a02a42f54ae42488e6deff810e0614 (patch)
tree061cdb20935dc5ce219665ff8eb7dd6701554e6a /sys/dev/ppbus/pps.c
parent2555d646e69823bea7efd3b0c579abc4c525d9c0 (diff)
downloadFreeBSD-src-b2f414d450a02a42f54ae42488e6deff810e0614.zip
FreeBSD-src-b2f414d450a02a42f54ae42488e6deff810e0614.tar.gz
Reduce Bruce-filter verbosity.
Diffstat (limited to 'sys/dev/ppbus/pps.c')
-rw-r--r--sys/dev/ppbus/pps.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c
index f507143..fb08062 100644
--- a/sys/dev/ppbus/pps.c
+++ b/sys/dev/ppbus/pps.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: pps.c,v 1.13 1999/01/30 15:35:39 nsouch Exp $
+ * $Id: pps.c,v 1.14 1999/03/11 15:09:51 phk Exp $
*
* This driver implements a draft-mogul-pps-api-02.txt PPS source.
*
@@ -39,7 +39,6 @@ static struct pps_data {
} *softc[NPPS];
static int npps;
-static pps_devsw_installed = 0;
/*
* Make ourselves visible as a ppbus driver
@@ -111,11 +110,8 @@ ppsattach(struct ppb_device *dev)
dev->id_unit, DV_CHR,
UID_ROOT, GID_WHEEL, 0600, PPS_NAME "%d", dev->id_unit);
#endif
- if( ! pps_devsw_installed ) {
- devt = makedev(CDEV_MAJOR, 0);
- cdevsw_add(&devt, &pps_cdevsw, NULL);
- pps_devsw_installed = 1;
- }
+ devt = makedev(CDEV_MAJOR, 0);
+ cdevsw_add(&devt, &pps_cdevsw, NULL);
return (1);
}
OpenPOWER on IntegriCloud