diff options
author | phk <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-28 20:21:04 +0000 |
commit | 075684f5fd95ff260b840fae30443cbffbf7cd0c (patch) | |
tree | bb9b337be34857e1f2678255e52c991d2c62a0a3 /sys/kern/init_main.c | |
parent | 9507df06e35de2ec5980481ede329d5b2c0941d0 (diff) | |
download | FreeBSD-src-075684f5fd95ff260b840fae30443cbffbf7cd0c.zip FreeBSD-src-075684f5fd95ff260b840fae30443cbffbf7cd0c.tar.gz |
Remove global variable rootdevs and rootvp, they are unused as such.
Add local rootvp variables as needed.
Remove checks for miniroot's in the swappartition. We never did that
and most of the filesystems could never be used for that, but it had
still been copy&pasted all over the place.
Diffstat (limited to 'sys/kern/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 575f227..34b38c2 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -96,7 +96,6 @@ static struct filedesc0 filedesc0; struct vmspace vmspace0; struct proc *initproc; -struct vnode *rootvp; int boothowto = 0; /* initialized so that it can be patched */ SYSCTL_INT(_debug, OID_AUTO, boothowto, CTLFLAG_RD, &boothowto, 0, ""); int bootverbose; |