summaryrefslogtreecommitdiff
path: root/nuttx/sched/task_vfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/sched/task_vfork.c')
-rw-r--r--nuttx/sched/task_vfork.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/sched/task_vfork.c b/nuttx/sched/task_vfork.c
index fece4c596..3f058bdec 100644
--- a/nuttx/sched/task_vfork.c
+++ b/nuttx/sched/task_vfork.c
@@ -48,7 +48,7 @@
#include <nuttx/sched.h>
#include "os_internal.h"
-#include "env_internal.h"
+#include "group_internal.h"
/****************************************************************************
* Pre-processor Definitions
@@ -132,10 +132,6 @@ FAR _TCB *task_vforksetup(start_t retaddr)
}
#endif
- /* Clone the parent's task environment */
-
- (void)env_dup(child);
-
/* Get the priority of the parent task */
#ifdef CONFIG_PRIORITY_INHERITANCE