summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-24 08:30:57 +0000
committerphk <phk@FreeBSD.org>2004-09-24 08:30:57 +0000
commitc67c50f50e3cd69316e0f460cae9326107b33862 (patch)
tree1df5c806fd1b3e80e25580d89a3809ddf5102026 /sys/kern/kern_conf.c
parent6ee26d135f9f0031511789d70decdebbefaf1146 (diff)
downloadFreeBSD-src-c67c50f50e3cd69316e0f460cae9326107b33862.zip
FreeBSD-src-c67c50f50e3cd69316e0f460cae9326107b33862.tar.gz
Remove the cdevsw() function which is now unused.
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 53d006b..770f4b6 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -232,14 +232,6 @@ no_poll(struct cdev *dev __unused, int events, struct thread *td __unused)
#define no_dump (dumper_t *)enodev
-struct cdevsw *
-devsw(struct cdev *dev)
-{
- if (dev->si_devsw != NULL)
- return (dev->si_devsw);
- return (&dead_cdevsw);
-}
-
/*
* struct cdev * and u_dev_t primitives
*/
OpenPOWER on IntegriCloud