summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-09-14 13:22:25 +0200
committerDavid S. Miller <davem@davemloft.net>2017-09-14 09:55:21 -0700
commita5135676bbf18ab4caed9effd321bd126f9ee11f (patch)
tree325036326df6c22b9a27d3f363da1ff24111f633 /net
parentfa5f7b51fc3080c2b195fa87c7eca7c05e56f673 (diff)
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>
Diffstat (limited to 'net')
-rw-r--r--net/tls/tls_sw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tls/tls_sw.c b/net/tls/tls_sw.c
index fa596fa71ba7..7d80040a37b6 100644
--- a/net/tls/tls_sw.c
+++ b/net/tls/tls_sw.c
@@ -639,7 +639,7 @@ sendpage_end:
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_sw_context *ctx = tls_sw_ctx(tls_ctx);