diff options
author | phk <phk@FreeBSD.org> | 2003-02-26 21:01:26 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-26 21:01:26 +0000 |
commit | fb3bbc64b1e3716789b8b5c342cb7cd90ac54362 (patch) | |
tree | 2941e2fb600b13fc7a03ba30d91323d2691a8ab9 /sys/dev/iir/iir_ctrl.c | |
parent | 097720562088c4fae395e1609efe06d3843c74dc (diff) | |
download | FreeBSD-src-fb3bbc64b1e3716789b8b5c342cb7cd90ac54362.zip FreeBSD-src-fb3bbc64b1e3716789b8b5c342cb7cd90ac54362.tar.gz |
msg
Diffstat (limited to 'sys/dev/iir/iir_ctrl.c')
-rw-r--r-- | sys/dev/iir/iir_ctrl.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/dev/iir/iir_ctrl.c b/sys/dev/iir/iir_ctrl.c index 1b3fc16..7522b17 100644 --- a/sys/dev/iir/iir_ctrl.c +++ b/sys/dev/iir/iir_ctrl.c @@ -85,7 +85,6 @@ static struct cdevsw iir_cdevsw = { /* kq */ nokqfilter }; -static int iir_devsw_installed = 0; #ifndef SDEV_PER_HBA static int sdev_made = 0; #endif @@ -356,17 +355,3 @@ iir_ioctl(dev_t dev, u_long cmd, caddr_t cmdarg, int flags, d_thread_t * p) --gdt_stat.io_count_act; return (0); } - -static void -iir_drvinit(void *unused) -{ - GDT_DPRINTF(GDT_D_DEBUG, ("iir_drvinit()\n")); - - if (!iir_devsw_installed) { - /* Add the I/O (data) channel */ - cdevsw_add(&iir_cdevsw); - iir_devsw_installed = 1; - } -} - -SYSINIT(iir_dev, SI_SUB_DRIVERS, SI_ORDER_MIDDLE + CDEV_MAJOR, iir_drvinit, NULL) |