summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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