diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 20:17:29 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 20:17:29 +0000 |
commit | 5b6482a22bb8b656e3d70a6efc5ae2c77ed2a58b (patch) | |
tree | 34b5782ba8b0613427d231151c3111b886474da1 /nuttx/sched/sched_setuppthreadfiles.c | |
parent | a1aa13f62853491f8bd96a3dea0f0427fa83ad05 (diff) | |
download | px4-firmware-5b6482a22bb8b656e3d70a6efc5ae2c77ed2a58b.tar.gz px4-firmware-5b6482a22bb8b656e3d70a6efc5ae2c77ed2a58b.tar.bz2 px4-firmware-5b6482a22bb8b656e3d70a6efc5ae2c77ed2a58b.zip |
Move file data from TCB to task group
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5567 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_setuppthreadfiles.c')
-rw-r--r-- | nuttx/sched/sched_setuppthreadfiles.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/nuttx/sched/sched_setuppthreadfiles.c b/nuttx/sched/sched_setuppthreadfiles.c index 648d9273e..78d6cbfec 100644 --- a/nuttx/sched/sched_setuppthreadfiles.c +++ b/nuttx/sched/sched_setuppthreadfiles.c @@ -79,14 +79,6 @@ int sched_setuppthreadfiles(FAR _TCB *tcb) { FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; -#if CONFIG_NFILE_DESCRIPTORS > 0 - /* The child thread inherits the parent file descriptors */ - - tcb->filelist = rtcb->filelist; - files_addreflist(tcb->filelist); - -#endif /* CONFIG_NFILE_DESCRIPTORS */ - #if CONFIG_NSOCKET_DESCRIPTORS > 0 /* The child thread inherits the parent socket descriptors */ |