From 7e760e148a2caa4873b7aeddbeab49b52b74b1ac Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 19 Jan 2003 11:03:07 +0000 Subject: 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. --- sys/fs/devfs/devfs_devs.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/fs/devfs/devfs_devs.c') diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c index cb7c99c53439..3b9a1bbe3d08 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(); } -- cgit v1.3