This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 3d8a6fb676d6c5453e44469e20925374de01e06e Author: Abdelatif Guettouche <abdelatif.guettou...@espressif.com> AuthorDate: Wed Sep 22 17:21:40 2021 +0200 esp32_spiram.c: Remove esp_himem_reserved_area_size from esp32_spiram.c file. This function is already defined in esp_himem and is used only when that file is built. We don't need another weak function. Signed-off-by: Abdelatif Guettouche <abdelatif.guettou...@espressif.com> --- arch/xtensa/src/esp32/esp32_spiram.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/arch/xtensa/src/esp32/esp32_spiram.c b/arch/xtensa/src/esp32/esp32_spiram.c index 1d82a95..c6eef15 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 ****************************************************************************/