Message ID | 20100929143014.7f32cec3@s6510 |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Stephen Hemminger <shemminger@vyatta.com> Date: Wed, 29 Sep 2010 14:30:14 +0900 > Function only used in tcp_input.c > > Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
--- a/net/ipv4/tcp_input.c 2010-09-29 14:00:54.145805254 +0900 +++ b/net/ipv4/tcp_input.c 2010-09-29 14:24:27.595831651 +0900 @@ -182,7 +182,7 @@ static void tcp_incr_quickack(struct soc icsk->icsk_ack.quick = min(quickacks, TCP_MAX_QUICKACKS); } -void tcp_enter_quickack_mode(struct sock *sk) +static void tcp_enter_quickack_mode(struct sock *sk) { struct inet_connection_sock *icsk = inet_csk(sk); tcp_incr_quickack(sk); --- a/include/net/tcp.h 2010-09-29 14:27:53.543307029 +0900 +++ b/include/net/tcp.h 2010-09-29 14:28:10.435891279 +0900 @@ -346,8 +346,6 @@ static inline void tcp_dec_quickack_mode } } -extern void tcp_enter_quickack_mode(struct sock *sk); - #define TCP_ECN_OK 1 #define TCP_ECN_QUEUE_CWR 2 #define TCP_ECN_DEMAND_CWR 4
Function only used in tcp_input.c Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> --- include/net/tcp.h | 2 -- net/ipv4/tcp_input.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html