Skip to contentSkip to conversation

x86/boot: remove unused is_big_kernel variable

PATCH In review Nicolas Iooss 3 participants 3 messages Feb 14, 2016 – Feb 16, 2016 x86

lore
Share & tools
lore
#0 lore raw

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.

---
 arch/x86/boot/tools/build.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/boot/tools/build.c +0 -1
index a7661c430cd9..0702d2531bc7 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Nicolas Iooss

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

---
 arch/x86/boot/tools/build.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/boot/tools/build.c +0 -0
index a7661c430cd9..0702d2531bc7 100644

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")

Signature · 4 lines
Regards/Gruss,
    Boris.

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

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

In reply to Nicolas Iooss
x86/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")

---
 arch/x86/boot/tools/build.c | 1 -
 1 file changed, 1 deletion(-)
arch/x86/boot/tools/build.c +0 -1
index a7661c4..0702d25 100644
@@ -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