net: remove Nuttx legacy UDP checksum functions
authorEunBong Song <eunb.song@samsung.com>
Wed, 15 Mar 2017 01:58:00 +0000 (10:58 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Mon, 17 Apr 2017 09:59:51 +0000 (18:59 +0900)
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 <eunb.song@samsung.com>
os/net/utils/utils.h

index a5fb1cd..695635a 100644 (file)
@@ -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: