You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/15 11:53:09 UTC
[incubator-nuttx] branch master updated: tcp_sendfile.c: Remove an
unused copy of CONFIG_NET_TCP_SPLIT_SIZE
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 4509876 tcp_sendfile.c: Remove an unused copy of CONFIG_NET_TCP_SPLIT_SIZE
4509876 is described below
commit 45098769e75b14fefb5cd1f71fb90a8f5157cae9
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Mar 15 16:33:42 2021 +0900
tcp_sendfile.c: Remove an unused copy of CONFIG_NET_TCP_SPLIT_SIZE
---
net/tcp/tcp_sendfile.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/net/tcp/tcp_sendfile.c b/net/tcp/tcp_sendfile.c
index 6792e9c..785d5fe 100644
--- a/net/tcp/tcp_sendfile.c
+++ b/net/tcp/tcp_sendfile.c
@@ -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])