summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-11-08 08:10:00 +0000
committerpeter <peter@FreeBSD.org>1999-11-08 08:10:00 +0000
commitf4f3e6b797912ea26d7c57a7b445cddff444026b (patch)
tree77b15c2ef7e38af220a99edc836e0764a0e56f68 /sys
parent2b55618762c6a9f51aa6e2792b5db8e77aff9078 (diff)
downloadFreeBSD-src-f4f3e6b797912ea26d7c57a7b445cddff444026b.zip
FreeBSD-src-f4f3e6b797912ea26d7c57a7b445cddff444026b.tar.gz
Zap devsw_module_handler().
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_conf.c12
-rw-r--r--sys/sys/conf.h1
-rw-r--r--sys/sys/linedisc.h1
3 files changed, 0 insertions, 14 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index a50a103..0400a15 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -172,18 +172,6 @@ cdevsw_remove(struct cdevsw *oldentry)
return 0;
}
-int
-devsw_module_handler(module_t mod, int what, void* arg)
-{
- struct devsw_module_data* data = (struct devsw_module_data*) arg;
- int error = 0;
-
- if (data->chainevh)
- return data->chainevh(mod, what, data->chainarg);
- else
- return 0;
-}
-
/*
* dev_t and u_dev_t primitives
*/
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index d276d8d..8b92374 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -260,7 +260,6 @@ int cdevsw_remove __P((struct cdevsw *old));
dev_t chrtoblk __P((dev_t dev));
void destroy_dev __P((dev_t dev));
struct cdevsw *devsw __P((dev_t dev));
-int devsw_module_handler __P((struct module *mod, int what, void *arg));
const char *devtoname __P((dev_t dev));
void freedev __P((dev_t dev));
int iszerodev __P((dev_t dev));
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index d276d8d..8b92374 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -260,7 +260,6 @@ int cdevsw_remove __P((struct cdevsw *old));
dev_t chrtoblk __P((dev_t dev));
void destroy_dev __P((dev_t dev));
struct cdevsw *devsw __P((dev_t dev));
-int devsw_module_handler __P((struct module *mod, int what, void *arg));
const char *devtoname __P((dev_t dev));
void freedev __P((dev_t dev));
int iszerodev __P((dev_t dev));
OpenPOWER on IntegriCloud