diff mbox series

tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key

Message ID 20220310143229.895319-1-hch@lst.de (mailing list archive)
State Accepted
Commit 515bb3071e16a7f14a68795af23287ab7367b588
Delegated to: Netdev Maintainers
Headers show
Series tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key | expand

Checks

Context Check Description
netdev/fixes_present success Fixes tag not required for -next series
netdev/subject_prefix warning Target tree name not specified in the subject
netdev/cover_letter success Single patches do not need cover letters
netdev/patch_count success Link
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 4 this patch: 4
netdev/cc_maintainers success CCed 6 of 6 maintainers
netdev/build_clang success Errors and warnings before: 18 this patch: 18
netdev/module_param success Was 0 now: 0
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 9 this patch: 9
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 14 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0
netdev/tree_selection success Guessing tree name failed - patch did not apply

Commit Message

Christoph Hellwig March 10, 2022, 2:32 p.m. UTC
Both functions are only used by core networking code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 net/ipv4/tcp_cong.c | 2 --
 1 file changed, 2 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org March 12, 2022, 7 a.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Thu, 10 Mar 2022 15:32:29 +0100 you wrote:
> Both functions are only used by core networking code.
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
>  net/ipv4/tcp_cong.c | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - tcp: unexport tcp_ca_get_key_by_name and tcp_ca_get_name_by_key
    https://git.kernel.org/netdev/net-next/c/515bb3071e16

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/ipv4/tcp_cong.c b/net/ipv4/tcp_cong.c
index db5831e6c136a..dc95572163df3 100644
--- a/net/ipv4/tcp_cong.c
+++ b/net/ipv4/tcp_cong.c
@@ -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)