diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-09-14 13:22:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-14 09:55:21 -0700 |
commit | a5135676bbf18ab4caed9effd321bd126f9ee11f (patch) | |
tree | 325036326df6c22b9a27d3f363da1ff24111f633 /net/tls | |
parent | fa5f7b51fc3080c2b195fa87c7eca7c05e56f673 (diff) | |
download | linux-a5135676bbf18ab4caed9effd321bd126f9ee11f.tar.gz linux-a5135676bbf18ab4caed9effd321bd126f9ee11f.tar.bz2 linux-a5135676bbf18ab4caed9effd321bd126f9ee11f.zip |
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/tls')
-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); |