kernel: Remove z_mem_pool wrapper internals

These implemented a k_mem_pool in terms of the now universal k_heap
utility.  That's no longer necessary now that the k_mem_pool API has
been removed.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2020-12-07 10:00:06 -08:00 committed by Anas Nashif
commit 3c2c1d85b0
4 changed files with 0 additions and 67 deletions

View file

@ -661,12 +661,6 @@ static inline void k_thread_heap_assign(struct k_thread *thread,
thread->resource_pool = heap;
}
static inline void z_thread_resource_pool_assign(struct k_thread *thread,
struct k_mem_pool *pool)
{
k_thread_heap_assign(thread, pool ? pool->heap : NULL);
}
#if defined(CONFIG_INIT_STACKS) && defined(CONFIG_THREAD_STACK_INFO)
/**
* @brief Obtain stack usage information for the specified thread