Re: [PATCH] x86/boot: remove unused is_big_kernel variable

From: Borislav Petkov
Date: Sun Feb 14 2016 - 08:51:04 EST


On Sun, Feb 14, 2016 at 01:35:58PM +0100, Nicolas Iooss wrote:
> Variable is_big_kernel is defined in arch/x86/boot/tools/build.c but
> never used anywhere.
>
> Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
> ---
> arch/x86/boot/tools/build.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/boot/tools/build.c b/arch/x86/boot/tools/build.c
> index a7661c430cd9..0702d2531bc7 100644
> --- a/arch/x86/boot/tools/build.c
> +++ b/arch/x86/boot/tools/build.c
> @@ -49,7 +49,6 @@ typedef unsigned int u32;
>
> /* This must be large enough to hold the entire setup */
> u8 buf[SETUP_SECT_MAX*512];
> -int is_big_kernel;
>
> #define PECOFF_RELOC_RESERVE 0x20
>
> --

Yap, that went out with 5e47c478b0b6 ("x86: remove zImage support")

Reviewed-by: Borislav Petkov <bp@xxxxxxx>

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.