aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/sched_releasetcb.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-25 23:21:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-25 23:21:27 +0000
commit239e2808cca6ee4c356d087bc83889fc57e64307 (patch)
treefd3a16f87e715df6729c7966a230f93214e98e20 /nuttx/sched/sched_releasetcb.c
parentfdaa22ed2d565e49983e956bc056f1e0797bd9a9 (diff)
downloadpx4-firmware-239e2808cca6ee4c356d087bc83889fc57e64307.tar.gz
px4-firmware-239e2808cca6ee4c356d087bc83889fc57e64307.tar.bz2
px4-firmware-239e2808cca6ee4c356d087bc83889fc57e64307.zip
Move environment variables in the task group structure
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5565 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_releasetcb.c')
-rw-r--r--nuttx/sched/sched_releasetcb.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/nuttx/sched/sched_releasetcb.c b/nuttx/sched/sched_releasetcb.c
index 50505f579..00d4c2c0c 100644
--- a/nuttx/sched/sched_releasetcb.c
+++ b/nuttx/sched/sched_releasetcb.c
@@ -45,8 +45,8 @@
#include <nuttx/arch.h>
#include "os_internal.h"
+#include "group_internal.h"
#include "timer_internal.h"
-#include "env_internal.h"
/************************************************************************
* Private Functions
@@ -167,10 +167,6 @@ int sched_releasetcb(FAR _TCB *tcb)
ret = sched_releasefiles(tcb);
- /* Release environment variables */
-
- (void)env_release(tcb);
-
/* Release this thread's reference to the address environment */
#ifdef CONFIG_ADDRENV