summaryrefslogtreecommitdiff
path: root/nuttx/sched/task/task_init.c
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-01 13:21:15 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-01 13:21:15 -0600
commit7bfdcaa22bd60cd34f11b0592c53fc5da1a37617 (patch)
tree77b4f3886eb3f4049545827c2008d161c318a9fa /nuttx/sched/task/task_init.c
parent9ee5cfaffa313949563fb37f7cd39a2b7620a4dd (diff)
downloadpx4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.gz
px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.tar.bz2
px4-nuttx-7bfdcaa22bd60cd34f11b0592c53fc5da1a37617.zip
Remove final traces of the 8015 from the NuttX source tree
Diffstat (limited to 'nuttx/sched/task/task_init.c')
-rw-r--r--nuttx/sched/task/task_init.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/nuttx/sched/task/task_init.c b/nuttx/sched/task/task_init.c
index f1fa91edf..6ad31e7f2 100644
--- a/nuttx/sched/task/task_init.c
+++ b/nuttx/sched/task/task_init.c
@@ -112,14 +112,9 @@
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
FAR uint32_t *stack, uint32_t stack_size,
main_t entry, FAR char * const argv[])
-#else
-int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
- main_t entry, FAR char * const argv[])
-#endif
{
FAR struct task_tcb_s *ttcb = (FAR struct task_tcb_s *)tcb;
int errcode;
@@ -156,9 +151,7 @@ int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
/* Configure the user provided stack region */
-#ifndef CONFIG_CUSTOM_STACK
up_use_stack(tcb, stack, stack_size);
-#endif
/* Initialize the task control block */