You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2021/05/22 04:47:06 UTC

[incubator-nuttx] 03/09: boards/risc-v/c906: Remove unneeded pthread_start

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 103925b2b7eda8e023cbd74bad67dfba757b69a4
Author: Huang Qi <hu...@xiaomi.com>
AuthorDate: Fri Apr 30 12:42:02 2021 +0800

    boards/risc-v/c906: Remove unneeded pthread_start
    
    Signed-off-by: Huang Qi <hu...@xiaomi.com>
---
 boards/risc-v/c906/smartl-c906/kernel/c906_userspace.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/boards/risc-v/c906/smartl-c906/kernel/c906_userspace.c b/boards/risc-v/c906/smartl-c906/kernel/c906_userspace.c
index 1f5a2f3..9f24ab1 100644
--- a/boards/risc-v/c906/smartl-c906/kernel/c906_userspace.c
+++ b/boards/risc-v/c906/smartl-c906/kernel/c906_userspace.c
@@ -99,9 +99,6 @@ const struct userspace_s userspace __attribute__ ((section (".userspace"))) =
   /* Task/thread startup routines */
 
   .task_startup     = nxtask_startup,
-#ifndef CONFIG_DISABLE_PTHREAD
-  .pthread_startup  = pthread_startup,
-#endif
 
   /* Signal handler trampoline */