summaryrefslogtreecommitdiffstats
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)
downloadop-kernel-dev-a5135676bbf18ab4caed9effd321bd126f9ee11f.zip
op-kernel-dev-a5135676bbf18ab4caed9effd321bd126f9ee11f.tar.gz
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 fa596fa..7d80040 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);
OpenPOWER on IntegriCloud