Skip to content
Commit d12462ca authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Andrew Boie
Browse files

k_mem_pool_alloc(): remove dead code



A loop in k_mem_pool_alloc() around z_sys_mem_pool_block_alloc() assumes
the later may return -EAGAIN with an elaborate comment about it. But
-EAGAIN is no longer returned by that function since commit 7845e1b0
("lib/mempool: Fix spurious -ENOMEM due to agressive latency control").

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent f0ddbd7e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment