Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c2ccfa9e authored by YueHaibing's avatar YueHaibing Committed by Herbert Xu
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Acked-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 5d2ded28
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -61,8 +61,6 @@ static inline u8 byte(const u32 x, const unsigned n)
	return x >> (n << 3);
	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 */
/* cacheline-aligned to facilitate prefetching into cache */
__visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = {
__visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = {
	{
	{