diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 09:13:18 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-07-28 09:13:18 +0000 |
commit | 253ca9d9b0cf75736b43fdaef10da54c45e2aa3d (patch) | |
tree | 3c6b7812fba5e44beda430eb1c0210d01ac12fb2 /sys/kern | |
parent | 8dbc5496aec43748e3ba04bb434a6fa14129c16d (diff) |
two unneeded variables; enami@ba2.so-net.or.jp
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_main.c | 6 | ||||
-rw-r--r-- | sys/kern/kern_synch.c | 4 |
2 files changed, 3 insertions, 7 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 27ac4fec18b..a8f78c7511a 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.23 1997/06/05 10:15:24 deraadt Exp $ */ +/* $OpenBSD: init_main.c,v 1.24 1997/07/28 09:13:17 deraadt Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -111,7 +111,7 @@ struct filedesc0 filedesc0; struct plimit limit0; struct vmspace vmspace0; struct proc *curproc = &proc0; -struct proc *initproc, *pageproc; +struct proc *initproc; int cmask = CMASK; extern struct user *proc0paddr; @@ -568,7 +568,6 @@ start_pagedaemon(p) /* * Now in process 2. */ - pageproc = p; p->p_flag |= P_INMEM | P_SYSTEM; /* XXX */ bcopy("pagedaemon", curproc->p_comm, sizeof ("pagedaemon")); vm_pageout(); @@ -583,7 +582,6 @@ start_update(p) /* * Now in process 3. */ - pageproc = p; p->p_flag |= P_INMEM | P_SYSTEM; /* XXX */ bcopy("update", curproc->p_comm, sizeof ("update")); vn_update(); diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index 29f7c0e84bd..91b556e6067 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_synch.c,v 1.6 1997/01/19 03:56:46 briggs Exp $ */ +/* $OpenBSD: kern_synch.c,v 1.7 1997/07/28 09:13:17 deraadt Exp $ */ /* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */ /*- @@ -223,8 +223,6 @@ schedcpu(arg) splx(s); } vmmeter(); - if (bclnlist != NULL) - wakeup((caddr_t)pageproc); timeout(schedcpu, (void *)0, hz); } |