From 2a8b2cad1739896b2ed33da9d153f59e0796f486 Mon Sep 17 00:00:00 2001 From: Abdelatif Guettouche Date: Mon, 23 May 2022 22:20:07 +0200 Subject: [PATCH] esp32_cpuidlestack.c: Remove unnecessary code. Signed-off-by: Abdelatif Guettouche --- 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; }