diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-09-14 14:22:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-14 19:55:21 +0300 |
commit | a5135676bbf18ab4caed9effd321bd126f9ee11f (patch) | |
tree | 325036326df6c22b9a27d3f363da1ff24111f633 /net | |
parent | fa5f7b51fc3080c2b195fa87c7eca7c05e56f673 (diff) | |
download | linux-a5135676bbf18ab4caed9effd321bd126f9ee11f.tar.xz |
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.c | 2 |
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); |