projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35e927
)
net/tls: Remove unused function declarations
author
Yue Haibing
<yuehaibing@huawei.com>
Sat, 5 Aug 2023 10:48:11 +0000
(18:48 +0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 7 Aug 2023 07:53:54 +0000
(08:53 +0100)
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>
net/tls/tls.h
patch
|
blob
|
history
diff --git
a/net/tls/tls.h
b/net/tls/tls.h
index
37539ac
..
164d6a9
100644
(file)
--- 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);