Don't explicitly zero p_intr_nesting_level and p_aioinfo in fork.

This commit is contained in:
jhb 2001-03-28 03:14:14 +00:00
parent 6de3adf0df
commit 6ed0e9c365

View File

@ -372,7 +372,6 @@ again:
nextpid = trypid;
p2 = newproc;
p2->p_intr_nesting_level = 0;
p2->p_stat = SIDL; /* protect against others */
p2->p_pid = trypid;
LIST_INSERT_HEAD(&allproc, p2, p_list);
@ -393,7 +392,6 @@ again:
mtx_init(&p2->p_mtx, "process lock", MTX_DEF);
PROC_LOCK(p2);
p2->p_aioinfo = NULL;
/*
* Duplicate sub-structures as needed.