From 9d41a098d70dd9b38b7a136ffb92bb815005670b Mon Sep 17 00:00:00 2001 From: Konstantin Kondrashov Date: Thu, 28 Nov 2024 15:47:18 +0200 Subject: [PATCH] fix(esp_system): Fix structurally dead code in esp_ipc.c ipc_task --- components/esp_system/esp_ipc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/esp_system/esp_ipc.c b/components/esp_system/esp_ipc.c index 0cbcfc41d0..84d9e2195b 100644 --- a/components/esp_system/esp_ipc.c +++ b/components/esp_system/esp_ipc.c @@ -89,12 +89,6 @@ static void IRAM_ATTR ipc_task(void* arg) } #endif // !CONFIG_FREERTOS_UNICORE } - // TODO: currently this is unreachable code. Introduce esp_ipc_uninit - // function which will signal to both tasks that they can shut down. - // Not critical at this point, we don't have a use case for stopping - // IPC yet. - // Also need to delete the semaphore here. - vTaskDelete(NULL); } /*