Subject: [RFC PATCH] tls: tls_sw_fallback() can be static

From: kbuild test robot <[email-masked]>
Date: Tue, 19 Dec 2017 16:17:21 +0800

Fixes: 716b5be4af2a ("tls: Add generic NIC offload infrastructure.")
Signed-off-by: Fengguang Wu <[email-masked]>
---
 tls_device_fallback.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/tls/tls_device_fallback.c b/net/tls/tls_device_fallback.c
index 95d04d6..d2403d6e 100644
--- a/net/tls/tls_device_fallback.c
+++ b/net/tls/tls_device_fallback.c
@@ -216,7 +216,7 @@ static void complete_skb(struct sk_buff *nskb, struct sk_buff *skb, int headln)
  * closed so make sure we don't use anything freed during
  * tls_sk_proto_close here
  */
-struct sk_buff *tls_sw_fallback(struct sock *sk, struct sk_buff *skb)
+static struct sk_buff *tls_sw_fallback(struct sock *sk, struct sk_buff *skb)
 {
 	int tcp_header_size = tcp_hdrlen(skb);
 	int tcp_payload_offset = skb_transport_offset(skb) + tcp_header_size;