crypto: qat - Make several functions static
authorColin Ian King <colin.king@canonical.com>
Tue, 6 Feb 2018 23:36:42 +0000 (23:36 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Feb 2018 15:26:57 +0000 (23:26 +0800)
commit9f32bb5358bbe83483f5e50805093708ab29e420
treeb97d003e7b2679f9edd8d551c463ca865fd63521
parent404a36a73c3f7108d2c628833fc6ec8db1959835
crypto: qat - Make several functions static

Functions qat_rsa_set_n, qat_rsa_set_e and qat_rsa_set_n are local to
the source and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
drivers/crypto/qat/qat_common/qat_asym_algs.c:972:5: warning: symbol
'qat_rsa_set_n' was not declared. Should it be static?
drivers/crypto/qat/qat_common/qat_asym_algs.c:1003:5: warning: symbol
'qat_rsa_set_e' was not declared. Should it be static?
drivers/crypto/qat/qat_common/qat_asym_algs.c:1027:5: warning: symbol
'qat_rsa_set_d' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/qat_asym_algs.c