diff mbox series

[net-next] net/tls: Remove unused function declarations

Message ID 20230805104811.45356-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit f6ecb68b38a5c23f20160dd49718d1a9d395a86d
Delegated to: Netdev Maintainers
Headers show
Series [net-next] net/tls: Remove unused function declarations | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 1330 this patch: 1330
netdev/cc_maintainers success CCed 7 of 7 maintainers
netdev/build_clang success Errors and warnings before: 1353 this patch: 1353
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 1353 this patch: 1353
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 10 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 5, 2023, 10:48 a.m. UTC
Commit 3c4d7559159b ("tls: kernel TLS support") declared but never implemented
these functions.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 net/tls/tls.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 7, 2023, 8 a.m. UTC | #1
Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Sat, 5 Aug 2023 18:48:11 +0800 you wrote:
> Commit 3c4d7559159b ("tls: kernel TLS support") declared but never implemented
> these functions.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  net/tls/tls.h | 4 ----
>  1 file changed, 4 deletions(-)

Here is the summary with links:
  - [net-next] net/tls: Remove unused function declarations
    https://git.kernel.org/netdev/net-next/c/f6ecb68b38a5

You are awesome, thank you!
diff mbox series

Patch

diff --git a/net/tls/tls.h b/net/tls/tls.h
index 37539ac3ac2a..164d6a955e26 100644
--- a/net/tls/tls.h
+++ b/net/tls/tls.h
@@ -87,10 +87,6 @@  void tls_ctx_free(struct sock *sk, struct tls_context *ctx);
 void update_sk_prot(struct sock *sk, struct tls_context *ctx);
 
 int wait_on_pending_writer(struct sock *sk, long *timeo);
-int tls_sk_query(struct sock *sk, int optname, char __user *optval,
-		 int __user *optlen);
-int tls_sk_attach(struct sock *sk, int optname, char __user *optval,
-		  unsigned int optlen);
 void tls_err_abort(struct sock *sk, int err);
 
 int tls_set_sw_offload(struct sock *sk, struct tls_context *ctx, int tx);