diff options
Diffstat (limited to 'net/ipv4/tcp_cong.c')
| -rw-r--r-- | net/ipv4/tcp_cong.c | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/net/ipv4/tcp_cong.c b/net/ipv4/tcp_cong.c index 1b34050a7538..28ffcfbeef14 100644 --- a/net/ipv4/tcp_cong.c +++ b/net/ipv4/tcp_cong.c @@ -146,11 +146,7 @@ EXPORT_SYMBOL_GPL(tcp_unregister_congestion_control);  int tcp_update_congestion_control(struct tcp_congestion_ops *ca, struct tcp_congestion_ops *old_ca)  {  	struct tcp_congestion_ops *existing; -	int ret; - -	ret = tcp_validate_congestion_control(ca); -	if (ret) -		return ret; +	int ret = 0;  	ca->key = jhash(ca->name, sizeof(ca->name), strlen(ca->name));  |