From f2957f6b9acc19c04fbe670a39df74a90736eff2 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Thu, 1 May 2003 17:05:24 +0000 Subject: [PATCH] Garbage collect unused TDF_INMSLEEP flag. --- sys/kern/kern_synch.c | 1 - sys/sys/proc.h | 1 - 2 files changed, 2 deletions(-) diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c index fa3e420babe7..914f43ef9c22 100644 --- a/sys/kern/kern_synch.c +++ b/sys/kern/kern_synch.c @@ -165,7 +165,6 @@ msleep(ident, mtx, priority, wmesg, timo) * and queue it as ready to run. Note that there is danger here * because we need to make sure that we don't sleep allocating * the thread (recursion here might be bad). - * Hence the TDF_INMSLEEP flag. */ mtx_lock_spin(&sched_lock); if (p->p_flag & P_THREADED || p->p_numthreads > 1) { diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 3027f7bfed22..b3a56945e76c 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -354,7 +354,6 @@ struct thread { #define TDF_CVWAITQ 0x000080 /* Thread is on a cv_waitq (not slpq). */ #define TDF_UPCALLING 0x000100 /* This thread is doing an upcall. */ #define TDF_ONSLEEPQ 0x000200 /* On the sleep queue. */ -#define TDF_INMSLEEP 0x000400 /* Don't recurse in msleep(). */ #define TDF_ASTPENDING 0x000800 /* Thread has some asynchronous events. */ #define TDF_TIMOFAIL 0x001000 /* Timeout from sleep after we were awake. */ #define TDF_INTERRUPT 0x002000 /* Thread is marked as interrupted. */