x86/boot: remove unused is_big_kernel variable
PATCH 1/1 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.
Signed-off-by Nicolas Iooss <[email protected]>
--- arch/x86/boot/tools/build.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/boot/tools/build.c +0 -1
@@ -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
Signature · 1 line
2.7.1
Quoted 14 lines · Nicolas Iooss
Variable
is_big_kernelis defined inarch/x86/boot/tools/build.cbut never used anywhere.Signed-off-by Nicolas Iooss <[email protected]>--- arch/x86/boot/tools/build.c | 1 - 1 file changed, 1 deletion(-)arch/x86/boot/tools/build.c +0
-0
arch/x86/boot/tools/build.c typedef unsigned int u32; · line 54
Quoted 7 lines
arch/x86/boot/tools/build.c +0
-1@@ -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 <[email protected]>
Signature · 4 lines
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.tip-bot for Nicolas Iooss
merge bot[tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable
In reply to Nicolas Ioossx86/boot: Remove unused 'is_big_kernel' variable
Commit-ID: 25b4caf7c50e8c501310e8c515d8518b1850c948 Gitweb: http://git.kernel.org/tip/25b4caf7c50e8c501310e8c515d8518b1850c948 Author: Nicolas Iooss <[email protected]> AuthorDate: Sun, 14 Feb 2016 13:35:58 +0100 Committer: Ingo Molnar <[email protected]> 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 <[email protected]>
Reviewed-by Borislav Petkov <[email protected]>
Cc H. Peter Anvin <[email protected]>
Cc Linus Torvalds <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Thomas Gleixner <[email protected]>
Signed-off-by Ingo Molnar <[email protected]>
--- arch/x86/boot/tools/build.c | 1 - 1 file changed, 1 deletion(-)
arch/x86/boot/tools/build.c +0 -1
@@ -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