Skip to content

Commit 217d9ac

Browse files
rettichschnidifabiobaltieri
authored andcommitted
net: net_pkt: Simplify conditional compilation
The #if has the same conditions as the one closed the previous #endif. Signed-off-by: Reto Schneider <[email protected]>
1 parent 9061d77 commit 217d9ac

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

subsys/net/ip/net_pkt.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,7 @@ const char *net_pkt_pool2str(struct net_buf_pool *pool)
287287

288288
return "EDATA";
289289
}
290-
#endif
291290

292-
#if defined(CONFIG_NET_DEBUG_NET_PKT_ALLOC) || \
293-
CONFIG_NET_PKT_LOG_LEVEL >= LOG_LEVEL_DBG
294291
static inline int16_t get_frees(struct net_buf_pool *pool)
295292
{
296293
#if defined(CONFIG_NET_BUF_POOL_USAGE)

0 commit comments

Comments
 (0)