tls: make tls_sw_free_resources static

Make the needlessly global function tls_sw_free_resources static to fix
a gcc/sparse warning.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Tobias Klauser 2017-09-14 13:22:25 +02:00 committed by David S. Miller
parent fa5f7b51fc
commit a5135676bb

View File

@ -639,7 +639,7 @@ sendpage_end:
return ret; return ret;
} }
void tls_sw_free_resources(struct sock *sk) static void tls_sw_free_resources(struct sock *sk)
{ {
struct tls_context *tls_ctx = tls_get_ctx(sk); struct tls_context *tls_ctx = tls_get_ctx(sk);
struct tls_sw_context *ctx = tls_sw_ctx(tls_ctx); struct tls_sw_context *ctx = tls_sw_ctx(tls_ctx);