tcp_sendfile.c: Remove an unused copy of CONFIG_NET_TCP_SPLIT_SIZE

This commit is contained in:
YAMAMOTO Takashi 2021-03-15 16:33:42 +09:00 committed by Xiang Xiao
parent d6badc32b3
commit 45098769e7

View file

@ -78,10 +78,6 @@
* Pre-processor Definitions
****************************************************************************/
#if defined(CONFIG_NET_TCP_SPLIT) && !defined(CONFIG_NET_TCP_SPLIT_SIZE)
# define CONFIG_NET_TCP_SPLIT_SIZE 40
#endif
#define TCPIPv4BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv4_HDRLEN])
#define TCPIPv6BUF ((struct tcp_hdr_s *)&dev->d_buf[NET_LL_HDRLEN(dev) + IPv6_HDRLEN])