diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-03-13 16:22:18 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-03-13 16:22:18 +0000 |
commit | aefda6c59cdcf757bdba0faa67f5a165ac4ab8a1 (patch) | |
tree | 12d5f92a427f2e4af98d4ad244af024ffaa2ff8e /sys/dev/ppbus/pps.c | |
parent | aae5936ed57fbf5b2b9d1e3fda98cba26e4c0284 (diff) | |
download | src-aefda6c59cdcf757bdba0faa67f5a165ac4ab8a1.tar.gz src-aefda6c59cdcf757bdba0faa67f5a165ac4ab8a1.zip |
Reduce Bruce-filter verbosity.
Notes
Notes:
svn path=/head/; revision=44723
Diffstat (limited to 'sys/dev/ppbus/pps.c')
-rw-r--r-- | sys/dev/ppbus/pps.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/ppbus/pps.c b/sys/dev/ppbus/pps.c index f50714322504..fb080622ffea 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); } |