From: Randy Dunlap Date: Fri, 9 Oct 2020 05:49:00 +0000 (-0700) Subject: net/tls: remove a duplicate function prototype X-Git-Tag: v5.10-rc1~107^2~1^2~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=923527dcb4d164925a2fed0b53c6a1625a60a472;p=thirdparty%2Fkernel%2Flinux.git net/tls: remove a duplicate function prototype Remove one of the two instances of the function prototype for tls_validate_xmit_skb(). Signed-off-by: Randy Dunlap Cc: Boris Pismenny Cc: Aviad Yehezkel Cc: John Fastabend Cc: Daniel Borkmann Signed-off-by: Jakub Kicinski --- diff --git a/include/net/tls.h b/include/net/tls.h index e5dac7e74e797..baf1e99d8193a 100644 --- a/include/net/tls.h +++ b/include/net/tls.h @@ -679,10 +679,6 @@ int decrypt_skb(struct sock *sk, struct sk_buff *skb, struct scatterlist *sgout); struct sk_buff *tls_encrypt_skb(struct sk_buff *skb); -struct sk_buff *tls_validate_xmit_skb(struct sock *sk, - struct net_device *dev, - struct sk_buff *skb); - int tls_sw_fallback_init(struct sock *sk, struct tls_offload_context_tx *offload_ctx, struct tls_crypto_info *crypto_info);