summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-01-29 22:36:45 +0000
committerphk <phk@FreeBSD.org>2003-01-29 22:36:45 +0000
commit98a90e953daedddb3bf314a0b2ff19df0afc7383 (patch)
tree815b522af68a72c6137cf003425bef50d402781e /sys/fs/devfs
parent2bc4e61e07c6554fe14f0a6518774fb2b5a23abf (diff)
downloadFreeBSD-src-98a90e953daedddb3bf314a0b2ff19df0afc7383.zip
FreeBSD-src-98a90e953daedddb3bf314a0b2ff19df0afc7383.tar.gz
NODEVFS cleanup: remove #ifdefs.
Diffstat (limited to 'sys/fs/devfs')
-rw-r--r--sys/fs/devfs/devfs_devs.c2
-rw-r--r--sys/fs/devfs/devfs_rule.c2
-rw-r--r--sys/fs/devfs/devfs_vfsops.c2
-rw-r--r--sys/fs/devfs/devfs_vnops.c2
4 files changed, 0 insertions, 8 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index dfd7120..75ef573 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -31,7 +31,6 @@
#include "opt_devfs.h"
#include "opt_mac.h"
-#ifndef NODEVFS
#include <sys/param.h>
#include <sys/systm.h>
@@ -455,4 +454,3 @@ devfs_init(void *junk)
SYSINIT(devfs, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_init, NULL);
-#endif
diff --git a/sys/fs/devfs/devfs_rule.c b/sys/fs/devfs/devfs_rule.c
index 34dd327..1da7019 100644
--- a/sys/fs/devfs/devfs_rule.c
+++ b/sys/fs/devfs/devfs_rule.c
@@ -63,7 +63,6 @@
*/
#include "opt_devfs.h"
-#ifndef NODEVFS
#include <sys/param.h>
#include <sys/systm.h>
@@ -829,4 +828,3 @@ devfs_ruleset_use(devfs_rsnum rsnum, struct devfs_mount *dm)
return (0);
}
-#endif /* !NODEVFS */
diff --git a/sys/fs/devfs/devfs_vfsops.c b/sys/fs/devfs/devfs_vfsops.c
index 4c32ffa..26b0deb 100644
--- a/sys/fs/devfs/devfs_vfsops.c
+++ b/sys/fs/devfs/devfs_vfsops.c
@@ -36,7 +36,6 @@
#include "opt_devfs.h"
#include "opt_mac.h"
-#ifndef NODEVFS
#include <sys/param.h>
#include <sys/systm.h>
@@ -207,4 +206,3 @@ static struct vfsops devfs_vfsops = {
};
VFS_SET(devfs_vfsops, devfs, VFCF_SYNTHETIC);
-#endif
diff --git a/sys/fs/devfs/devfs_vnops.c b/sys/fs/devfs/devfs_vnops.c
index 16d40a3..db6e475 100644
--- a/sys/fs/devfs/devfs_vnops.c
+++ b/sys/fs/devfs/devfs_vnops.c
@@ -43,7 +43,6 @@
#include <opt_devfs.h>
#include <opt_mac.h>
-#ifndef NODEVFS
#include <sys/param.h>
#include <sys/systm.h>
@@ -917,4 +916,3 @@ static struct vnodeopv_desc devfs_specop_opv_desc =
{ &devfs_specop_p, devfs_specop_entries };
VNODEOP_SET(devfs_specop_opv_desc);
-#endif
OpenPOWER on IntegriCloud