File tree Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Expand file tree Collapse file tree 1 file changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -1139,35 +1139,6 @@ static inline void net_pkt_set_create_time(struct net_pkt *pkt,
11391139 * CONFIG_TRACING_NET_CORE
11401140 */
11411141
1142- /**
1143- * @deprecated Use @ref net_pkt_timestamp or @ref net_pkt_timestamp_ns instead.
1144- */
1145- static inline uint64_t net_pkt_txtime (struct net_pkt * pkt )
1146- {
1147- #if defined(CONFIG_NET_PKT_TXTIME )
1148- return pkt -> timestamp .second * NSEC_PER_SEC + pkt -> timestamp .nanosecond ;
1149- #else
1150- ARG_UNUSED (pkt );
1151-
1152- return 0 ;
1153- #endif /* CONFIG_NET_PKT_TXTIME */
1154- }
1155-
1156- /**
1157- * @deprecated Use @ref net_pkt_set_timestamp or @ref net_pkt_set_timestamp_ns
1158- * instead.
1159- */
1160- static inline void net_pkt_set_txtime (struct net_pkt * pkt , uint64_t txtime )
1161- {
1162- #if defined(CONFIG_NET_PKT_TXTIME )
1163- pkt -> timestamp .second = txtime / NSEC_PER_SEC ;
1164- pkt -> timestamp .nanosecond = txtime % NSEC_PER_SEC ;
1165- #else
1166- ARG_UNUSED (pkt );
1167- ARG_UNUSED (txtime );
1168- #endif /* CONFIG_NET_PKT_TXTIME */
1169- }
1170-
11711142#if defined(CONFIG_NET_PKT_TXTIME_STATS_DETAIL ) || \
11721143 defined(CONFIG_NET_PKT_RXTIME_STATS_DETAIL )
11731144static inline uint32_t * net_pkt_stats_tick (struct net_pkt * pkt )
You can’t perform that action at this time.
0 commit comments