Commit 95765a6c authored by Julian Wiedmann's avatar Julian Wiedmann Committed by David S. Miller
Browse files

tcp: remove SG-related comment in tcp_sendmsg()



Since commit 74d4a8f8 ("tcp: remove sk_can_gso() use"), the code
doesn't care whether the interface supports SG.

Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 863f4fdb
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -1274,9 +1274,6 @@ restart:
			int linear;
			int linear;


new_segment:
new_segment:
			/* Allocate new segment. If the interface is SG,
			 * allocate skb fitting to single page.
			 */
			if (!sk_stream_memory_free(sk))
			if (!sk_stream_memory_free(sk))
				goto wait_for_sndbuf;
				goto wait_for_sndbuf;