All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local variable
@ 2005-11-29 15:15 Daniel Marjamäki
  2005-11-29 16:18 ` [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local Christophe Lucas
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Marjamäki @ 2005-11-29 15:15 UTC (permalink / raw)
  To: kernel-janitors


Hello friends!
There was a warning message (unused variable) about this on the LinuxICC website.

I've removed a variable that is not needed. It is assigned but never read.

Signed-off-by: Daniel Marjamäki


--- a/arch/i386/crypto/aes.c	2005-11-29 15:59:09.000000000 +0100
+++ b/arch/i386/crypto/aes.c	2005-11-29 15:50:41.000000000 +0100
@@ -93,7 +93,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];
@@ -144,15 +143,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));



_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-11-30 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 15:15 [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local variable Daniel Marjamäki
2005-11-29 16:18 ` [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local Christophe Lucas
2005-11-29 22:21 ` Alexey Dobriyan
2005-11-30 13:20 ` [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local variable Daniel Marjamäki
2005-11-30 14:19 ` [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local Christophe Lucas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.