summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/kern/kern_thread.c8
-rw-r--r--sys/sys/proc.h3
2 files changed, 0 insertions, 11 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index b16c8f517f5c..74af901df50a 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -278,11 +278,6 @@ ksegrp_unlink(struct ksegrp *kg)
p = kg->kg_proc;
TAILQ_REMOVE(&p->p_ksegrps, kg, kg_ksegrp);
p->p_numksegrps--;
- /*
- * Aggregate stats from the KSE
- */
- if (p->p_procscopegrp == kg)
- p->p_procscopegrp = NULL;
}
#endif
@@ -1135,9 +1130,6 @@ thread_single_end(void)
p->p_flag &= ~(P_STOPPED_SINGLE | P_SINGLE_EXIT | P_SINGLE_BOUNDARY);
mtx_lock_spin(&sched_lock);
p->p_singlethread = NULL;
-#ifdef KSE
- p->p_procscopegrp = NULL;
-#endif
/*
* If there are other threads they mey now run,
* unless of course there is a blanket 'stop order'
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 483c80a5a4b6..17926cc83527 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -661,9 +661,6 @@ struct proc {
int p_suspcount; /* (c) Num threads in suspended mode. */
struct thread *p_xthread; /* (c) Trap thread */
int p_boundary_count;/* (c) Num threads at user boundary */
-#ifdef KSE
- struct ksegrp *p_procscopegrp;
-#endif
int p_pendingcnt; /* how many signals are pending */
struct itimers *p_itimers; /* (c) POSIX interval timers. */
/* End area that is zeroed on creation. */