mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
tcp: make local functions static
The following are only used in one file: tcp_connect_init tcp_set_rto Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4ffa8fcd17
commit
f7e56a76ac
3 changed files with 2 additions and 5 deletions
|
@ -766,7 +766,7 @@ static void tcp_update_pacing_rate(struct sock *sk)
|
|||
/* Calculate rto without backoff. This is the second half of Van Jacobson's
|
||||
* routine referred to above.
|
||||
*/
|
||||
void tcp_set_rto(struct sock *sk)
|
||||
static void tcp_set_rto(struct sock *sk)
|
||||
{
|
||||
const struct tcp_sock *tp = tcp_sk(sk);
|
||||
/* Old crap is replaced with new one. 8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue