mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86/boot: remove unused is_big_kernel variable
@ 2016-02-14 12:35 Nicolas Iooss
  2016-02-14 13:50 ` Borislav Petkov
  2016-02-16 12:14 ` [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable tip-bot for Nicolas Iooss
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Iooss @ 2016-02-14 12:35 UTC (permalink / raw)
  To: H. Peter Anvin, Thomas Gleixner, Ingo Molnar
  Cc: x86, linux-kernel, Nicolas Iooss

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@m4x.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 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
 
-- 
2.7.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] x86/boot: remove unused is_big_kernel variable
  2016-02-14 12:35 [PATCH] x86/boot: remove unused is_big_kernel variable Nicolas Iooss
@ 2016-02-14 13:50 ` Borislav Petkov
  2016-02-16 12:14 ` [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable tip-bot for Nicolas Iooss
  1 sibling, 0 replies; 3+ messages in thread
From: Borislav Petkov @ 2016-02-14 13:50 UTC (permalink / raw)
  To: Nicolas Iooss
  Cc: H. Peter Anvin, Thomas Gleixner, Ingo Molnar, x86, linux-kernel

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@m4x.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 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@suse.de>

-- 
Regards/Gruss,
    Boris.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable
  2016-02-14 12:35 [PATCH] x86/boot: remove unused is_big_kernel variable Nicolas Iooss
  2016-02-14 13:50 ` Borislav Petkov
@ 2016-02-16 12:14 ` tip-bot for Nicolas Iooss
  1 sibling, 0 replies; 3+ messages in thread
From: tip-bot for Nicolas Iooss @ 2016-02-16 12:14 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: linux-kernel, torvalds, bp, peterz, mingo, hpa, tglx,
	nicolas.iooss_linux

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
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-16 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-14 12:35 [PATCH] x86/boot: remove unused is_big_kernel variable Nicolas Iooss
2016-02-14 13:50 ` Borislav Petkov
2016-02-16 12:14 ` [tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable tip-bot for Nicolas Iooss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®