[tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable

From: tip-bot for Nicolas Iooss
Date: Tue Feb 16 2016 - 07:15:25 EST


Commit-ID: 25b4caf7c50e8c501310e8c515d8518b1850c948
Gitweb: http://git.kernel.org/tip/25b4caf7c50e8c501310e8c515d8518b1850c948
Author: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
AuthorDate: Sun, 14 Feb 2016 13:35:58 +0100
Committer: Ingo Molnar <mingo@xxxxxxxxxx>
CommitDate: Tue, 16 Feb 2016 09:16:58 +0100

x86/boot: Remove unused 'is_big_kernel' variable

Variable is_big_kernel is defined in arch/x86/boot/tools/build.c but
never used anywhere.

Boris noted that its usage went away 7 years ago, as of:

5e47c478b0b6 ("x86: remove zImage support")

Signed-off-by: Nicolas Iooss <nicolas.iooss_linux@xxxxxxx>
Reviewed-by: Borislav Petkov <bp@xxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxx>
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: http://lkml.kernel.org/r/1455453358-4088-1-git-send-email-nicolas.iooss_linux@xxxxxxx
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
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 a7661c4..0702d25 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