diff options
author | Daniel Marjamäki <daniel.marjamaki@comhem.se> | 2005-12-03 01:16:42 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-09 17:15:53 -0500 |
commit | afad2608c766f53c79ec4ffccdb4bef660b90a89 (patch) | |
tree | 40e34f6e491e505ac51faab210d94f93bb55495d /arch | |
parent | e6a3a925a25ddd2ebd66dbc8d14ebdd3d57ca0c3 (diff) |
[CRYPTO] aes-i586: Remove unused variable ls_tab
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/crypto/aes.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/i386/crypto/aes.c b/arch/i386/crypto/aes.c index 138652aafcbf..a50397b1d5c7 100644 --- a/arch/i386/crypto/aes.c +++ b/arch/i386/crypto/aes.c | |||
@@ -94,7 +94,6 @@ static u32 rcon_tab[RC_LENGTH]; | |||
94 | 94 | ||
95 | u32 ft_tab[4][256]; | 95 | u32 ft_tab[4][256]; |
96 | u32 fl_tab[4][256]; | 96 | u32 fl_tab[4][256]; |
97 | static u32 ls_tab[4][256]; | ||
98 | static u32 im_tab[4][256]; | 97 | static u32 im_tab[4][256]; |
99 | u32 il_tab[4][256]; | 98 | u32 il_tab[4][256]; |
100 | u32 it_tab[4][256]; | 99 | u32 it_tab[4][256]; |
@@ -145,15 +144,6 @@ static void gen_tabs(void) | |||
145 | fl_tab[2][i] = upr(w, 2); | 144 | fl_tab[2][i] = upr(w, 2); |
146 | fl_tab[3][i] = upr(w, 3); | 145 | fl_tab[3][i] = upr(w, 3); |
147 | 146 | ||
148 | /* | ||
149 | * table for key schedule if fl_tab above is | ||
150 | * not of the required form | ||
151 | */ | ||
152 | ls_tab[0][i] = w; | ||
153 | ls_tab[1][i] = upr(w, 1); | ||
154 | ls_tab[2][i] = upr(w, 2); | ||
155 | ls_tab[3][i] = upr(w, 3); | ||
156 | |||
157 | b = fi(inv_affine((u8)i)); | 147 | b = fi(inv_affine((u8)i)); |
158 | w = bytes2word(fe(b), f9(b), fd(b), fb(b)); | 148 | w = bytes2word(fe(b), f9(b), fd(b), fb(b)); |
159 | 149 | ||