aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-08-09 04:29:19 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-15 07:52:14 -0400
commitc2ccfa9ed7fbe0924782363c56b462f23e9c91ab (patch)
tree15d28fb50c4c87661a5d503aef6bddea8aa602c3
parent5d2ded2823c30df6410a3d8934cd1df6fe0aa284 (diff)
crypto: aes-generic - remove unused variable 'rco_tab'
crypto/aes_generic.c:64:18: warning: rco_tab defined but not used [-Wunused-const-variable=] It is never used, so can be removed. Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/aes_generic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c
index 71a5c190d360..22e5867177f1 100644
--- a/crypto/aes_generic.c
+++ b/crypto/aes_generic.c
@@ -61,8 +61,6 @@ static inline u8 byte(const u32 x, const unsigned n)
61 return x >> (n << 3); 61 return x >> (n << 3);
62} 62}
63 63
64static const u32 rco_tab[10] = { 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 };
65
66/* cacheline-aligned to facilitate prefetching into cache */ 64/* cacheline-aligned to facilitate prefetching into cache */
67__visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = { 65__visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = {
68 { 66 {