Don't explicitly zero p_intr_nesting_level and p_aioinfo in fork.

This commit is contained in:
John Baldwin 2001-03-28 03:14:14 +00:00
parent 3d370aadbe
commit 486b8ac04a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74905

View File

@ -372,7 +372,6 @@ fork1(p1, flags, procp)
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 @@ fork1(p1, flags, procp)
mtx_init(&p2->p_mtx, "process lock", MTX_DEF);
PROC_LOCK(p2);
p2->p_aioinfo = NULL;
/*
* Duplicate sub-structures as needed.