summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-27 07:40:44 +0000
committerphk <phk@FreeBSD.org>2003-02-27 07:40:44 +0000
commitf0a6146e921dcdf7d9b2a79eb0bd8ce0584f872c (patch)
treea0059f01ff6698bf795ef82b49cdf6c60ec05d08
parent2a06a7170d947ccd49b48f02a99b12105ddebcc7 (diff)
downloadFreeBSD-src-f0a6146e921dcdf7d9b2a79eb0bd8ce0584f872c.zip
FreeBSD-src-f0a6146e921dcdf7d9b2a79eb0bd8ce0584f872c.tar.gz
NODEVFS cleanup:
Remove cdevsw_add() and cdevsw_remove(), they served us well for a long time. Bump __FreeBSD_version to 500104 to mark this.
-rw-r--r--sys/kern/kern_conf.c22
-rw-r--r--sys/sys/conf.h2
-rw-r--r--sys/sys/linedisc.h2
-rw-r--r--sys/sys/param.h2
4 files changed, 1 insertions, 27 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index 22803c1..dbc7794 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -128,28 +128,6 @@ devsw(dev_t dev)
}
/*
- * Add a cdevsw entry
- */
-
-int
-cdevsw_add(struct cdevsw *newentry)
-{
-
- return (0);
-}
-
-/*
- * Remove a cdevsw entry
- */
-
-int
-cdevsw_remove(struct cdevsw *oldentry)
-{
-
- return 0;
-}
-
-/*
* dev_t and u_dev_t primitives
*/
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index 7be960f..a6466ea 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -307,8 +307,6 @@ static moduledata_t name##_mod = { \
DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE)
-int cdevsw_add(struct cdevsw *_new);
-int cdevsw_remove(struct cdevsw *_old);
int count_dev(dev_t _dev);
void destroy_dev(dev_t _dev);
void revoke_and_destroy_dev(dev_t _dev);
diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h
index 7be960f..a6466ea 100644
--- a/sys/sys/linedisc.h
+++ b/sys/sys/linedisc.h
@@ -307,8 +307,6 @@ static moduledata_t name##_mod = { \
DECLARE_MODULE(name, name##_mod, SI_SUB_DRIVERS, SI_ORDER_MIDDLE)
-int cdevsw_add(struct cdevsw *_new);
-int cdevsw_remove(struct cdevsw *_old);
int count_dev(dev_t _dev);
void destroy_dev(dev_t _dev);
void revoke_and_destroy_dev(dev_t _dev);
diff --git a/sys/sys/param.h b/sys/sys/param.h
index cfa9438..b37cbf2 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -55,7 +55,7 @@
* doc/en_US.ISO8859-1/books/porters-handbook/book.sgml
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 500103 /* Master, propagated to newvers */
+#define __FreeBSD_version 500104 /* Master, propagated to newvers */
#ifndef NULL
#define NULL 0
OpenPOWER on IntegriCloud