diff options
| author | 2014-09-30 09:49:55 +0800 | |
|---|---|---|
| committer | 2014-09-30 17:09:16 -0400 | |
| commit | a12a601ed163578084a48708ae376805f79a1ccf (patch) | |
| tree | 9cf7ebc0f7e86bc54c72cd0e4a42895017d00c78 /include/net/tcp.h | |
| parent | ieee802154: add __init to lowpan_frags_sysctl_register (diff) | |
| download | wireguard-linux-a12a601ed163578084a48708ae376805f79a1ccf.tar.xz wireguard-linux-a12a601ed163578084a48708ae376805f79a1ccf.zip | |
tcp: Change tcp_slow_start function to return void
No caller uses the return value, so make this function return void.
Signed-off-by: Li RongQing <roy.qing.li@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
| -rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 545a79aa4212..ba2f9d03076b 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -830,7 +830,7 @@ void tcp_get_available_congestion_control(char *buf, size_t len); void tcp_get_allowed_congestion_control(char *buf, size_t len); int tcp_set_allowed_congestion_control(char *allowed); int tcp_set_congestion_control(struct sock *sk, const char *name); -int tcp_slow_start(struct tcp_sock *tp, u32 acked); +void tcp_slow_start(struct tcp_sock *tp, u32 acked); void tcp_cong_avoid_ai(struct tcp_sock *tp, u32 w); u32 tcp_reno_ssthresh(struct sock *sk); |
