diff --git a/net/udp/udp_recvfrom.c b/net/udp/udp_recvfrom.c index c31690b68b3..8795105f49a 100644 --- a/net/udp/udp_recvfrom.c +++ b/net/udp/udp_recvfrom.c @@ -170,8 +170,6 @@ static inline void udp_readahead(struct udp_recvfrom_s *pstate) FAR void *srcaddr; uint8_t ifindex; - DEBUGASSERT(iob->io_pktlen > 0); - /* Unflatten saved connection information */ #ifdef CONFIG_NETDEV_IFINDEX