Skip to content

Commit c2ccfa9

Browse files
YueHaibingherbertx
authored andcommitted
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 <[email protected]> Signed-off-by: YueHaibing <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 5d2ded2 commit c2ccfa9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

crypto/aes_generic.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ static inline u8 byte(const u32 x, const unsigned n)
6161
return x >> (n << 3);
6262
}
6363

64-
static const u32 rco_tab[10] = { 1, 2, 4, 8, 16, 32, 64, 128, 27, 54 };
65-
6664
/* cacheline-aligned to facilitate prefetching into cache */
6765
__visible const u32 crypto_ft_tab[4][256] ____cacheline_aligned = {
6866
{

0 commit comments

Comments
 (0)