]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Make function get_rec() static
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 26 Sep 2018 12:10:48 +0000 (12:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:25:11 +0000 (10:25 -0700)
commitaf9d87235b00845584e4fb7e7b353dc0a0ad573e
tree27ce4fc234cd115f031008b3641420d5b5d2d832
parentb6ae34a12e46514e9967f18a8d26c39f248f1356
net/tls: Make function get_rec() static

Fixes the following sparse warning:

net/tls/tls_sw.c:655:16: warning:
 symbol 'get_rec' was not declared. Should it be static?

Fixes: 4e09428b5ad7 ("net/tls: Add support for async encryption of records for performance")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tls/tls_sw.c