include: sys: sys_heap: fix ifdef guards
Ifdef guard of CONFIG_SYS_HEAP_RUNTIME_STATS prevents using IS_ENABLED macro, preferred way of guarding code. This commit fixes that by removing ifdef macro. Signed-off-by: Evgenii Kosenko <Evgenii.Kosenko@silabs.com>
This commit is contained in:
parent
a133ef8f19
commit
03f41eb40b
1 changed files with 0 additions and 4 deletions
|
@ -73,8 +73,6 @@ struct z_heap_stress_result {
|
|||
* @{
|
||||
*/
|
||||
|
||||
#ifdef CONFIG_SYS_HEAP_RUNTIME_STATS
|
||||
|
||||
/**
|
||||
* @brief Get the runtime statistics of a sys_heap
|
||||
*
|
||||
|
@ -96,8 +94,6 @@ int sys_heap_runtime_stats_get(struct sys_heap *heap,
|
|||
*/
|
||||
int sys_heap_runtime_stats_reset_max(struct sys_heap *heap);
|
||||
|
||||
#endif
|
||||
|
||||
/** @brief Initialize sys_heap
|
||||
*
|
||||
* Initializes a sys_heap struct to manage the specified memory.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue