aboutsummaryrefslogtreecommitdiff
path: root/nuttx/sched/pthread_create.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-01-26 23:49:02 +0000
commit47b94bafa5045532f239ea57a3610873b1a71368 (patch)
tree59eb55cb25bbd20b052a87de5838d80a410a1439 /nuttx/sched/pthread_create.c
parentb82c36961aa730fc39a9fc8eac17e2518128cb67 (diff)
downloadpx4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.gz
px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.tar.bz2
px4-firmware-47b94bafa5045532f239ea57a3610873b1a71368.zip
Move socket data from TCB to task group structure.
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5570 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/pthread_create.c')
-rw-r--r--nuttx/sched/pthread_create.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/nuttx/sched/pthread_create.c b/nuttx/sched/pthread_create.c
index 9fd6a4a61..48a0788a6 100644
--- a/nuttx/sched/pthread_create.c
+++ b/nuttx/sched/pthread_create.c
@@ -296,15 +296,6 @@ int pthread_create(FAR pthread_t *thread, FAR pthread_attr_t *attr,
}
#endif
- /* Associate file descriptors with the new task */
-
- ret = sched_setuppthreadfiles(ptcb);
- if (ret != OK)
- {
- errcode = ret;
- goto errout_with_tcb;
- }
-
/* Allocate a detachable structure to support pthread_join logic */
pjoin = (FAR join_t*)kzalloc(sizeof(join_t));