net: context: Remove useless asserts when setting net_buf pools
No need to print errors if assinging null values into net_buf pools as this is a normal condition if those pools are not used. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
8d108c9d59
commit
489ea9ba4f
1 changed files with 0 additions and 2 deletions
|
@ -763,8 +763,6 @@ static inline void net_context_setup_pools(struct net_context *context,
|
|||
net_pkt_get_pool_func_t data_pool)
|
||||
{
|
||||
NET_ASSERT(context);
|
||||
NET_ASSERT(tx_slab);
|
||||
NET_ASSERT(data_pool);
|
||||
|
||||
context->tx_slab = tx_slab;
|
||||
context->data_pool = data_pool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue