summaryrefslogtreecommitdiffstats
path: root/sys/dev/mse/mse.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1999-10-06 13:03:09 +0000
committeryokota <yokota@FreeBSD.org>1999-10-06 13:03:09 +0000
commit48291e20e3bb9439772d81736efa6889aa2753e0 (patch)
tree279d4e4d9440b30c63ac009524a00d2858bfaa65 /sys/dev/mse/mse.c
parentcf60da86f22ac56e217c712f8eeaae3b1bc2d033 (diff)
downloadFreeBSD-src-48291e20e3bb9439772d81736efa6889aa2753e0.zip
FreeBSD-src-48291e20e3bb9439772d81736efa6889aa2753e0.tar.gz
- Remove cdevsw_add().
Diffstat (limited to 'sys/dev/mse/mse.c')
-rw-r--r--sys/dev/mse/mse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index 5f9f2c0..332e020 100644
--- a/sys/dev/mse/mse.c
+++ b/sys/dev/mse/mse.c
@@ -234,10 +234,7 @@ mseprobe(idp)
{
register struct mse_softc *sc = &mse_sc[idp->id_unit];
register int i;
- static int once;
- if (!once++)
- cdevsw_add(&mse_cdevsw);
/*
* Check for each mouse type in the table.
*/
OpenPOWER on IntegriCloud