Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335315

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

From tip-bot for Nicolas Iooss <tipbot@zytor.com>
Newsgroups linux.kernel
Subject [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable
Date 2016-02-16 13:20 +0100
Message-ID <r2MLM-7HT-5@gated-at.bofh.it> (permalink)
References <r24hH-2FT-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Commit-ID:  25b4caf7c50e8c501310e8c515d8518b1850c948
Gitweb:     http://git.kernel.org/tip/25b4caf7c50e8c501310e8c515d8518b1850c948
Author:     Nicolas Iooss <nicolas.iooss_linux@m4x.org>
AuthorDate: Sun, 14 Feb 2016 13:35:58 +0100
Committer:  Ingo Molnar <mingo@kernel.org>
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@m4x.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1455453358-4088-1-git-send-email-nicolas.iooss_linux@m4x.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
 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
 

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] x86/boot: remove unused is_big_kernel variable Nicolas Iooss <nicolas.iooss_linux@m4x.org> - 2016-02-14 13:50 +0100
  Re: [PATCH] x86/boot: remove unused is_big_kernel variable Borislav Petkov <bp@alien8.de> - 2016-02-14 15:00 +0100
  [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable tip-bot for Nicolas Iooss <tipbot@zytor.com> - 2016-02-16 13:20 +0100

csiph-web