OSDN Git Service

crypto: cavium - make structure algs static
authorColin Ian King <colin.king@canonical.com>
Fri, 1 Jun 2018 13:12:27 +0000 (14:12 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jun 2018 15:03:07 +0000 (23:03 +0800)
commit2a2b9461f8aceab65bb46f33d7be65bfa3f015e1
tree9fb9d80ccf5255aa0ee5276f2c6d3af07661402e
parentb25c1199acaea4fbc69944c0c14eb2300de9dec4
crypto: cavium - make structure algs static

The structure algs is local to the source and does not need to be in
global scope, so make it static.

Cleans up sparse warning:
drivers/crypto/cavium/cpt/cptvf_algs.c:354:19: warning: symbol 'algs'
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/cavium/cpt/cptvf_algs.c