summaryrefslogtreecommitdiffstats
path: root/sys/fs/devfs/devfs_devs.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-02-15 21:43:08 +0000
committerphk <phk@FreeBSD.org>2004-02-15 21:43:08 +0000
commit758f11d12733b14451a5b9a622a672c71fd3fc73 (patch)
tree77745dcce8e3b03ba96ef09918c6263dbd8250a2 /sys/fs/devfs/devfs_devs.c
parent900024a6aaa99e39cc2ada236b0e0d5cb71d2738 (diff)
downloadFreeBSD-src-758f11d12733b14451a5b9a622a672c71fd3fc73.zip
FreeBSD-src-758f11d12733b14451a5b9a622a672c71fd3fc73.tar.gz
White-space align a struct definition.
Move a SYSINIT to the file where it belongs.
Diffstat (limited to 'sys/fs/devfs/devfs_devs.c')
-rw-r--r--sys/fs/devfs/devfs_devs.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/fs/devfs/devfs_devs.c b/sys/fs/devfs/devfs_devs.c
index e5e6ffb..eb394d8 100644
--- a/sys/fs/devfs/devfs_devs.c
+++ b/sys/fs/devfs/devfs_devs.c
@@ -1,4 +1,3 @@
-#define DEBUG 1
/*
* Copyright (c) 2000
* Poul-Henning Kamp. All rights reserved.
@@ -443,13 +442,3 @@ devfs_destroy(dev_t dev)
atomic_cmpset_int(&devfs_nextino, i, ino);
}
}
-
-static void
-devfs_init(void *junk)
-{
-
- devfs_rules_init();
-}
-
-SYSINIT(devfs, SI_SUB_DEVFS, SI_ORDER_FIRST, devfs_init, NULL);
-
OpenPOWER on IntegriCloud