mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
tcp_sendfile.c: Remove an unused copy of CONFIG_NET_TCP_SPLIT_SIZE
This commit is contained in:
parent
d6badc32b3
commit
45098769e7
1 changed files with 0 additions and 4 deletions
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in a new issue