diff --git a/arch/xtensa/src/esp32/esp32_spiram.c b/arch/xtensa/src/esp32/esp32_spiram.c index 1d82a95d50..c6eef15d7e 100644 --- a/arch/xtensa/src/esp32/esp32_spiram.c +++ b/arch/xtensa/src/esp32/esp32_spiram.c @@ -77,16 +77,6 @@ static bool spiram_inited = false; * Private Functions ****************************************************************************/ -/* If no function in esp_himem.c is used, this function will be linked into - * the binary instead of the one in esp_himem.c, automatically making sure - * no memory is reserved if no himem function is used. - */ - -size_t weak_function esp_himem_reserved_area_size(void) -{ - return 0; -} - /**************************************************************************** * Public Functions ****************************************************************************/