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)
|
||||
{
|
||||
#ifdef CONFIG_XTENSA_IMEM_USE_SEPARATE_HEAP
|
||||
if (xtensa_imm_heapmember(ptr))
|
||||
{
|
||||
xtensa_imm_free(ptr);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
{
|
||||
kmm_free(ptr);
|
||||
}
|
||||
kmm_free(ptr);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user