summaryrefslogtreecommitdiff
path: root/sys/kern/kern_switch.c
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2004-09-19 18:34:17 +0000
committerDavid Schultz <das@FreeBSD.org>2004-09-19 18:34:17 +0000
commit8daa8c602acb7005dcae9e1a46ff9f3650ef10f6 (patch)
treea883b85688bf1e9cee8a5852cea1fe606fa15bb0 /sys/kern/kern_switch.c
parent81d4eca1ef7f44f412ba4a584e69a13d8f6cbd03 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r--sys/kern/kern_switch.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c
index ee04bf36ab96..787ec459d530 100644
--- a/sys/kern/kern_switch.c
+++ b/sys/kern/kern_switch.c
@@ -784,22 +784,6 @@ sched_newproc(struct proc *p, struct ksegrp *kg, struct thread *td)
sched_init_concurrency(kg);
}
-/*
- * Called by the uma process fini routine..
- * undo anything we may have done in the uma_init method.
- * Panic if it's not all 1:1:1:1
- * Called from:
- * proc_fini() (UMA method)
- */
-void
-sched_destroyproc(struct proc *p)
-{
-
- /* this function slated for destruction */
- KASSERT((p->p_numthreads == 1), ("Cached proc with > 1 thread "));
- KASSERT((p->p_numksegrps == 1), ("Cached proc with > 1 ksegrp "));
-}
-
#define RANGEOF(type, start, end) (offsetof(type, end) - offsetof(type, start))
/*
* thread is being either created or recycled.