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 | |
parent | 8dbc5496aec43748e3ba04bb434a6fa14129c16d (diff) |
two unneeded variables; enami@ba2.so-net.or.jp
-rw-r--r-- | sys/kern/init_main.c | 6 | ||||
-rw-r--r-- | sys/kern/kern_synch.c | 4 | ||||
-rw-r--r-- | sys/sys/buf.h | 3 | ||||
-rw-r--r-- | sys/sys/proc.h | 4 |
4 files changed, 6 insertions, 11 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); } diff --git a/sys/sys/buf.h b/sys/sys/buf.h index c96a71a1765..34587d51cc8 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: buf.h,v 1.6 1997/04/14 04:23:21 tholo Exp $ */ +/* $OpenBSD: buf.h,v 1.7 1997/07/28 09:13:14 deraadt Exp $ */ /* $NetBSD: buf.h,v 1.25 1997/04/09 21:12:17 mycroft Exp $ */ /* @@ -160,7 +160,6 @@ int bufpages; /* Number of memory pages in the buffer pool. */ struct buf *swbuf; /* Swap I/O buffer headers. */ int nswbuf; /* Number of swap I/O buffer headers. */ struct buf bswlist; /* Head of swap I/O buffer headers free list. */ -struct buf *bclnlist; /* Head of cleaned page list. */ TAILQ_HEAD(, buf) bdirties; /* Dirty buffer list for update daemon */ __BEGIN_DECLS diff --git a/sys/sys/proc.h b/sys/sys/proc.h index f80c160bf41..f35e0b9c0f6 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -1,4 +1,4 @@ -/* $OpenBSD: proc.h,v 1.14 1997/06/05 10:15:22 deraadt Exp $ */ +/* $OpenBSD: proc.h,v 1.15 1997/07/28 09:13:15 deraadt Exp $ */ /* $NetBSD: proc.h,v 1.44 1996/04/22 01:23:21 christos Exp $ */ /*- @@ -288,7 +288,7 @@ extern int randompid; /* fork() should create random pid's */ LIST_HEAD(proclist, proc); extern struct proclist allproc; /* List of all processes. */ extern struct proclist zombproc; /* List of zombie processes. */ -struct proc *initproc, *pageproc; /* Process slots for init, pager. */ +struct proc *initproc; /* Process slots for init, pager. */ #define NQS 32 /* 32 run queues. */ int whichqs; /* Bit mask summary of non-empty Q's. */ |