Skip to content

Commit

Permalink
[CRYPTO] aes-i586: Remove unused variable ls_tab
Browse files Browse the repository at this point in the history
It is assigned but never read.

Signed-off-by: Daniel Marjamäki <daniel.marjamaki@comhem.se>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
  • Loading branch information
Daniel Marjamäki authored and David S. Miller committed Jan 9, 2006
1 parent e6a3a92 commit afad260
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions arch/i386/crypto/aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ static u32 rcon_tab[RC_LENGTH];

u32 ft_tab[4][256];
u32 fl_tab[4][256];
static u32 ls_tab[4][256];
static u32 im_tab[4][256];
u32 il_tab[4][256];
u32 it_tab[4][256];
Expand Down Expand Up @@ -145,15 +144,6 @@ static void gen_tabs(void)
fl_tab[2][i] = upr(w, 2);
fl_tab[3][i] = upr(w, 3);

/*
* table for key schedule if fl_tab above is
* not of the required form
*/
ls_tab[0][i] = w;
ls_tab[1][i] = upr(w, 1);
ls_tab[2][i] = upr(w, 2);
ls_tab[3][i] = upr(w, 3);

b = fi(inv_affine((u8)i));
w = bytes2word(fe(b), f9(b), fd(b), fb(b));

Expand Down

0 comments on commit afad260

Please sign in to comment.