You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ma...@apache.org on 2022/05/23 23:59:15 UTC

[incubator-nuttx] branch master updated: esp32_cpuidlestack.c: Remove unnecessary code.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 2a8b2cad17 esp32_cpuidlestack.c: Remove unnecessary code.
2a8b2cad17 is described below

commit 2a8b2cad1739896b2ed33da9d153f59e0796f486
Author: Abdelatif Guettouche <ab...@espressif.com>
AuthorDate: Mon May 23 22:20:07 2022 +0200

    esp32_cpuidlestack.c: Remove unnecessary code.
    
    Signed-off-by: Abdelatif Guettouche <ab...@espressif.com>
---
 arch/xtensa/src/esp32/esp32_cpuidlestack.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/xtensa/src/esp32/esp32_cpuidlestack.c b/arch/xtensa/src/esp32/esp32_cpuidlestack.c
index 164f0a0204..da35120d33 100644
--- a/arch/xtensa/src/esp32/esp32_cpuidlestack.c
+++ b/arch/xtensa/src/esp32/esp32_cpuidlestack.c
@@ -86,12 +86,6 @@ int up_cpu_idlestack(int cpu, struct tcb_s *tcb, size_t stack_size)
   up_create_stack(tcb, stack_size, TCB_FLAG_TTYPE_KERNEL);
 #endif
 
-#if XCHAL_CP_NUM > 0
-  /* REVISIT: Does it make since to have co-processors enabled on the IDLE
-   * thread?
-   */
-#endif
-
   return OK;
 }