projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa5f7b5
)
tls: make tls_sw_free_resources static
author
Tobias Klauser
<tklauser@distanz.ch>
Thu, 14 Sep 2017 11:22:25 +0000
(13:22 +0200)
committer
David S. Miller
<davem@davemloft.net>
Thu, 14 Sep 2017 16:55:21 +0000
(09:55 -0700)
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>
net/tls/tls_sw.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tls/tls_sw.c
b/net/tls/tls_sw.c
index fa596fa71ba70678adffb62c3423c7195e3f5a99..7d80040a37b6d54901c05964a2f8a9ab0851a2cb 100644
(file)
--- 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);