]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
crypto: aes-generic - remove unused variable 'rco_tab'
authorYueHaibing <yuehaibing@huawei.com>
Fri, 9 Aug 2019 08:29:19 +0000 (16:29 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Aug 2019 11:52:14 +0000 (21:52 +1000)
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>
crypto/aes_generic.c

index 71a5c190d3608ec1becf7473eedd189a26f77e4f..22e5867177f146aba33ab3dd712c640b6d222069 100644 (file)
@@ -61,8 +61,6 @@ static inline u8 byte(const u32 x, const unsigned n)
        return x >> (n << 3);
 }
 
-static const u32 rco_tab[10] = { 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 };
-
 /* cacheline-aligned to facilitate prefetching into cache */
 __visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = {
        {