diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 22:25:21 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-01-26 22:25:21 +0000 |
commit | b82c36961aa730fc39a9fc8eac17e2518128cb67 (patch) | |
tree | 7b706cce24489ea8e025a9802d3daf3078428e19 /nuttx/sched/sched_setuppthreadfiles.c | |
parent | 3bec164b3ae1cd7f9b5dcec532e7d073be96d45d (diff) | |
download | px4-firmware-b82c36961aa730fc39a9fc8eac17e2518128cb67.tar.gz px4-firmware-b82c36961aa730fc39a9fc8eac17e2518128cb67.tar.bz2 px4-firmware-b82c36961aa730fc39a9fc8eac17e2518128cb67.zip |
Move stream data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5569 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/sched_setuppthreadfiles.c')
-rw-r--r-- | nuttx/sched/sched_setuppthreadfiles.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/nuttx/sched/sched_setuppthreadfiles.c b/nuttx/sched/sched_setuppthreadfiles.c index 78d6cbfec..91d72fa7f 100644 --- a/nuttx/sched/sched_setuppthreadfiles.c +++ b/nuttx/sched/sched_setuppthreadfiles.c @@ -77,8 +77,6 @@ int sched_setuppthreadfiles(FAR _TCB *tcb) { - FAR _TCB *rtcb = (FAR _TCB*)g_readytorun.head; - #if CONFIG_NSOCKET_DESCRIPTORS > 0 /* The child thread inherits the parent socket descriptors */ @@ -87,13 +85,6 @@ int sched_setuppthreadfiles(FAR _TCB *tcb) #endif /* CONFIG_NSOCKET_DESCRIPTORS */ -#if CONFIG_NFILE_STREAMS > 0 - /* The child thread inherits the parent streams */ - - tcb->streams = rtcb->streams; - lib_addreflist(tcb->streams); - -#endif /* CONFIG_NFILE_STREAMS */ return OK; } |