From: YueHaibing Date: Fri, 9 Aug 2019 08:29:19 +0000 (+0800) Subject: crypto: aes-generic - remove unused variable 'rco_tab' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c2ccfa9ed7fbe0924782363c56b462f23e9c91ab;p=linux.git 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 Signed-off-by: YueHaibing Acked-by: Ard Biesheuvel Signed-off-by: Herbert Xu --- diff --git a/crypto/aes_generic.c b/crypto/aes_generic.c index 71a5c190d3608..22e5867177f14 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) 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 = { {