summaryrefslogtreecommitdiff
path: root/net/tls/tls.h
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-05 18:48:11 +0800
committerDavid S. Miller <davem@davemloft.net>2023-08-07 08:53:54 +0100
commitf6ecb68b38a5c23f20160dd49718d1a9d395a86d (patch)
tree17d57ce1ffb81d5ff4a5930cee17e06956402628 /net/tls/tls.h
parentc35e927cbe09d38b2d72183bb215901183927c68 (diff)
net/tls: Remove unused function declarations
Commit 3c4d7559159b ("tls: kernel TLS support") declared but never implemented these functions. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tls/tls.h')
-rw-r--r--net/tls/tls.h4
1 files changed, 0 insertions, 4 deletions
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);