Skip to content

Commit c1d213a

Browse files
yangbolu1991kartben
authored andcommitted
net: net_if: remove redundant NET_PKT_TIMESTAMP_STACK_SIZE definition
Kconfig makes sure the NET_PKT_TIMESTAMP_STACK_SIZE with default value 1024 when NET_PKT_TIMESTAMP_THREAD is enabled. Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
1 parent 03110f1 commit c1d213a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

subsys/net/ip/net_if.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ static sys_slist_t mcast_monitor_callbacks;
114114
#endif
115115

116116
#if defined(CONFIG_NET_PKT_TIMESTAMP_THREAD)
117-
#if !defined(CONFIG_NET_PKT_TIMESTAMP_STACK_SIZE)
118-
#define CONFIG_NET_PKT_TIMESTAMP_STACK_SIZE 1024
119-
#endif
120117

121118
K_KERNEL_STACK_DEFINE(tx_ts_stack, CONFIG_NET_PKT_TIMESTAMP_STACK_SIZE);
122119
K_FIFO_DEFINE(tx_ts_queue);

0 commit comments

Comments
 (0)