From: Neal Cardwell Date: Wed, 16 Oct 2013 16:36:51 +0000 (-0400) Subject: tcp: remove redundant code in __tcp_retransmit_skb() X-Git-Tag: v3.13-rc1~105^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=675297c904b419542a93de64afaf2a6bd72e35e3;p=pandora-kernel.git tcp: remove redundant code in __tcp_retransmit_skb() Remove the specialized code in __tcp_retransmit_skb() that tries to trim any ACKed payload preceding a FIN before we retransmit (this was added in 1999 in v2.2.3pre3). This trimming code was made unreachable by the more general code added above it that uses tcp_trim_head() to trim any ACKed payload, with or without a FIN (this was added in "[NET]: Add segmentation offload support to TCP." in 2002 circa v2.5.33). Signed-off-by: Neal Cardwell Cc: Eric Dumazet Cc: Yuchung Cheng Acked-by: Eric Dumazet Acked-by: Yuchung Cheng Signed-off-by: David S. Miller --- Reading git-diff-tree failed