Skip to content

Commit

Permalink
net/tls: Remove unused function declarations
Browse files Browse the repository at this point in the history
Commit 3c4d755 ("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>
  • Loading branch information
Yue Haibing authored and David S. Miller committed Aug 7, 2023
1 parent c35e927 commit f6ecb68
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/tls/tls.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f6ecb68

Please sign in to comment.