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:
parent
6545b95088
commit
96bcf7678b
@ -1962,16 +1962,7 @@ static void *esp_malloc(unsigned int size)
|
|||||||
|
|
||||||
static void esp_free(void *ptr)
|
static void esp_free(void *ptr)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_XTENSA_IMEM_USE_SEPARATE_HEAP
|
kmm_free(ptr);
|
||||||
if (xtensa_imm_heapmember(ptr))
|
|
||||||
{
|
|
||||||
xtensa_imm_free(ptr);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
kmm_free(ptr);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user