mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key
Both functions are only used by core networking code. Signed-off-by: Christoph Hellwig <hch@lst.de> Link: https://lore.kernel.org/r/20220310143229.895319-1-hch@lst.de Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
cb631a6398
commit
515bb3071e
@ -135,7 +135,6 @@ u32 tcp_ca_get_key_by_name(struct net *net, const char *name, bool *ecn_ca)
|
||||
|
||||
return key;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tcp_ca_get_key_by_name);
|
||||
|
||||
char *tcp_ca_get_name_by_key(u32 key, char *buffer)
|
||||
{
|
||||
@ -151,7 +150,6 @@ char *tcp_ca_get_name_by_key(u32 key, char *buffer)
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(tcp_ca_get_name_by_key);
|
||||
|
||||
/* Assign choice of congestion control. */
|
||||
void tcp_assign_congestion_control(struct sock *sk)
|
||||
|
Loading…
Reference in New Issue
Block a user