arch/i386/crypto/aes.c: removing unused local variable
Subsystems (2)
PATCH 1/1 arch/i386/crypto/aes.c: removing unused local variable
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.
arch/i386/crypto/aes.c +0 -10
@@ -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
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Re: [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local
Quoted 8 lines · Daniel Marjamäki
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
http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt
Have a nice day,
- Christophe ([email protected])
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Re: [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local
In reply to Daniel MarjamäkiQuoted 1 line · Daniel Marjam?ki
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
It must be format=flawed. Seriusly, who doubles spaces on context lines? I see [space][space]u32 ft_tab ... again
Please, send a patch to yourself, than try to apply it.
Quoted 24 lines
u32 ft_tab[4][256];
u32 fl_tab[4][256];arch/i386/crypto/aes.c +0
-10-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));
Quoted 4 lines
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
PATCH 1/1 arch/i386/crypto/aes.c: removing unused local variable
In reply to Daniel MarjamäkiThis patch removes an unused local variable. The variable is assigned but never read.
arch/i386/crypto/aes.c +0 -10
@@ -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
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors
Re: [KJ] [PATCH] arch/i386/crypto/aes.c: removing unused local
In reply to Daniel MarjamäkiQuoted 4 lines · Daniel Marjamäki
This patch removes an unused local variable. The variable is assigned but never read.
Signed-off-by Daniel Marjamäki
A correct Signed-off-by is :
Have a nice day,
- Christophe ([email protected])
_______________________________________________
Kernel-janitors mailing list
[email protected]
https://lists.osdl.org/mailman/listinfo/kernel-janitors