tcp: Remove redundant code entering quickack mode
authorVijay Subramanian <subramanian.vijay@gmail.com>
Fri, 13 Apr 2012 13:23:59 +0000 (13:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Apr 2012 19:29:02 +0000 (15:29 -0400)
commita8cb05b238e0edfd7c63f496d9ce3e238ea68a16
treed917bec3758b7b129d1def6053a995c07cb43f05
parentaacd9289af8b82f5fb01bcdd53d0e3406d1333c7
tcp: Remove redundant code entering quickack mode

tcp_enter_quickack_mode() already calls tcp_incr_quickack() and sets
icsk->icsk_ack.ato  to TCP_ATO_MIN. This patch removes the duplication.

Signed-off-by: Vijay Subramanian <subramanian.vijay@gmail.com>
Reviewed-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c