summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2018-07-09 10:45:14 +0300
committerDavid S. Miller <davem@davemloft.net>2018-07-10 01:57:11 +0300
commit95765a6ca1288121ddcbf07cd60ec65341829ddc (patch)
tree8bdf17396c6b7d72e1e5e6396602c008a88b5f90 /net/ipv4/tcp.c
parent863f4fdb715c3328d4ff1ed547c5508c8e6e2b06 (diff)
downloadlinux-95765a6ca1288121ddcbf07cd60ec65341829ddc.tar.xz
tcp: remove SG-related comment in tcp_sendmsg()
Since commit 74d4a8f8d378 ("tcp: remove sk_can_gso() use"), the code doesn't care whether the interface supports SG. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index c4082cd50257..e3704a49164b 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1274,9 +1274,6 @@ restart:
int linear;
new_segment:
- /* Allocate new segment. If the interface is SG,
- * allocate skb fitting to single page.
- */
if (!sk_stream_memory_free(sk))
goto wait_for_sndbuf;