net/udp: fix build error when NET_UDP_WRITE_BUFFERS disable

fix build error.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
This commit is contained in:
zhanghongyu
2025-04-29 21:27:28 +08:00
committed by Xiang Xiao
parent 8d7ce77247
commit 150e52769b
4 changed files with 13 additions and 13 deletions
-2
View File
@@ -262,7 +262,6 @@ void udp_wrbuffer_release(FAR struct udp_wrbuffer_s *wrb)
*
****************************************************************************/
#if CONFIG_NET_SEND_BUFSIZE > 0
uint32_t udp_wrbuffer_inqueue_size(FAR struct udp_conn_s *conn)
{
FAR struct udp_wrbuffer_s *wrb;
@@ -280,7 +279,6 @@ uint32_t udp_wrbuffer_inqueue_size(FAR struct udp_conn_s *conn)
return total;
}
#endif /* CONFIG_NET_SEND_BUFSIZE */
/****************************************************************************
* Name: udp_wrbuffer_test