From: EunBong Song Date: Wed, 15 Mar 2017 01:58:00 +0000 (+0900) Subject: net: remove Nuttx legacy UDP checksum functions X-Git-Tag: 1.1_Public_Release~614^2~362 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29995e1220cf9fc1d466480eaa99b8c3778b9d47;p=rtos%2Ftinyara.git net: remove Nuttx legacy UDP checksum functions udp_ipv4_chksum and udp_ipv6_chksum is only declared in header file. There is no implementation and also not used anymore. Let's remove this. Change-Id: I32ab21a5613bb5dc63ddcd3093e65b288e5b2202 Signed-off-by: EunBong Song --- diff --git a/os/net/utils/utils.h b/os/net/utils/utils.h index a5fb1cd..695635a 100644 --- a/os/net/utils/utils.h +++ b/os/net/utils/utils.h @@ -213,30 +213,6 @@ uint16_t tcp_chksum(FAR struct net_driver_s *dev); #endif /**************************************************************************** - * Name: udp_ipv4_chksum - * - * Description: - * Calculate the UDP/IPv4 checksum of the packet in d_buf and d_appdata. - * - ****************************************************************************/ - -#if defined(CONFIG_NET_UDP_CHECKSUMS) && defined(CONFIG_NET_IPv4) -uint16_t udp_ipv4_chksum(FAR struct net_driver_s *dev); -#endif - -/**************************************************************************** - * Name: udp_ipv6_chksum - * - * Description: - * Calculate the UDP/IPv6 checksum of the packet in d_buf and d_appdata. - * - ****************************************************************************/ - -#if defined(CONFIG_NET_UDP_CHECKSUMS) && defined(CONFIG_NET_IPv6) -uint16_t udp_ipv6_chksum(FAR struct net_driver_s *dev); -#endif - -/**************************************************************************** * Name: icmp_chksum * * Description: