net: net_pkt: Simplify conditional compilation
The #if has the same conditions as the one closed the previous #endif. Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
This commit is contained in:
parent
9061d774c9
commit
217d9ac113
1 changed files with 0 additions and 3 deletions
|
@ -287,10 +287,7 @@ const char *net_pkt_pool2str(struct net_buf_pool *pool)
|
|||
|
||||
return "EDATA";
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_DEBUG_NET_PKT_ALLOC) || \
|
||||
CONFIG_NET_PKT_LOG_LEVEL >= LOG_LEVEL_DBG
|
||||
static inline int16_t get_frees(struct net_buf_pool *pool)
|
||||
{
|
||||
#if defined(CONFIG_NET_BUF_POOL_USAGE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue