summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs_devs.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-19 11:03:07 +0000
committerphk <phk@FreeBSD.org>2003-01-19 11:03:07 +0000
commit24596ddb76743273c5d39821727e4e00d025cb02 (patch)
treea1836e6e7bd999b9e7099048c5c2bd9535ef95cd /sys/fs/devfs/devfs_devs.c
parent49b60b2ebe504ba8584d684a66b1351307a962cf (diff)
downloadFreeBSD-src-24596ddb76743273c5d39821727e4e00d025cb02.zip
FreeBSD-src-24596ddb76743273c5d39821727e4e00d025cb02.tar.gz
Originally when DEVFS was added, a global variable "devfs_present"
was used to control code which were conditional on DEVFS' precense since this avoided the need for large-scale source pollution with #include "opt_geom.h" Now that we approach making DEVFS standard, replace these tests with an #ifdef to facilitate mechanical removal once DEVFS becomes non-optional. No functional change by this commit.
Diffstat (limited to 'sys/fs/devfs/devfs_devs.c')
-rw-r--r--sys/fs/devfs/devfs_devs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index cb7c99c..3b9a1bb 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -450,7 +450,6 @@ devfs_init(void *junk)
{
devfs_create_hook = devfs_create;
devfs_destroy_hook = devfs_destroy;
- devfs_present = 1;
devfs_rules_init();
}
OpenPOWER on IntegriCloud