tcp: tcp_enter_quickack_mode can be static
authorstephen hemminger <shemminger@vyatta.com>
Tue, 28 Sep 2010 19:30:14 +0000 (19:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 30 Sep 2010 02:45:36 +0000 (19:45 -0700)
Function only used in tcp_input.c

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_input.c

index 914a60c7ad62070720401f6e18c66af86f7a48e8..4fee0424af7eff7a053f0eef9376ad2644b2b723 100644 (file)
@@ -346,8 +346,6 @@ static inline void tcp_dec_quickack_mode(struct sock *sk,
        }
 }
 
-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
index fabc09a58d7f95e8650785415d5cd5a9f78d4e3e..eaf20e7e61daacf9b9d06c253451ca4c1485308c 100644 (file)
@@ -182,7 +182,7 @@ static void tcp_incr_quickack(struct sock *sk)
                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);