risc-v/esp32c3_wifi_adapter.c: Remove a config that's only used in

Xtensa chips.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche 2021-06-11 12:48:08 +01:00 committed by saramonteiro
parent 6545b95088
commit 96bcf7678b

View File

@ -1962,16 +1962,7 @@ static void *esp_malloc(unsigned int size)
static void esp_free(void *ptr)
{
#ifdef CONFIG_XTENSA_IMEM_USE_SEPARATE_HEAP
if (xtensa_imm_heapmember(ptr))
{
xtensa_imm_free(ptr);
}
else
#endif
{
kmm_free(ptr);
}
kmm_free(ptr);
}
/****************************************************************************