crypto: chelsio - make arrays sgl_ent_len and dsgl_ent_len static
authorColin Ian King <colin.king@canonical.com>
Thu, 30 Nov 2017 11:32:08 +0000 (11:32 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 11 Dec 2017 11:36:58 +0000 (22:36 +1100)
commit8579e0767c230f25f8abc71d4e99eba6754d3766
tree5ca10ab3c32f731ecaffa867e4ce202eae1025fa
parenteaf356e4be27abcc3b741a3dd7e9bd530390c607
crypto: chelsio - make arrays sgl_ent_len and dsgl_ent_len static

The arrays sgl_ent_len and dsgl_ent_len are local to the source and do
not need to be in global scope, so make them static. Also re-format the
declarations to match the following round_constant array declaration
style.

Cleans up sparse warnings:
drivers/crypto/chelsio/chcr_algo.c:76:14: warning: symbol 'sgl_ent_len'
was not declared. Should it be static?
drivers/crypto/chelsio/chcr_algo.c:81:14: warning: symbol 'dsgl_ent_len'
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/chelsio/chcr_algo.c