Kill a dead variable

PR:		126223
Submitted by:	Mateusz Guzik
This commit is contained in:
Antoine Brodin 2008-08-03 21:07:19 +00:00
parent 049aa2e813
commit f8062a0b0f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181263

View File

@ -243,12 +243,10 @@ kthread_add(void (*func)(void *), void *arg, struct proc *p,
{
va_list ap;
struct thread *newtd, *oldtd;
int error;
if (!proc0.p_stats)
panic("kthread_add called too soon");
error = 0;
/* If no process supplied, put it on proc0 */
if (p == NULL) {
p = &proc0;