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


Groups > linux.kernel > #1333497 > unrolled thread

[PATCH] x86/boot: remove unused is_big_kernel variable

Started byNicolas Iooss <nicolas.iooss_linux@m4x.org>
First post2016-02-14 13:50 +0100
Last post2016-02-16 13:20 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [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

#1333497 — [PATCH] x86/boot: remove unused is_big_kernel variable

FromNicolas Iooss <nicolas.iooss_linux@m4x.org>
Date2016-02-14 13:50 +0100
Subject[PATCH] x86/boot: remove unused is_big_kernel variable
Message-ID<r24hH-2FT-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1333503

FromBorislav Petkov <bp@alien8.de>
Date2016-02-14 15:00 +0100
Message-ID<r25nt-3lH-3@gated-at.bofh.it>
In reply to#1333497
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.

[toc] | [prev] | [next] | [standalone]


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

Fromtip-bot for Nicolas Iooss <tipbot@zytor.com>
Date2016-02-16 13:20 +0100
Subject[tip:x86/boot] x86/boot: Remove unused 'is_big_kernel' variable
Message-ID<r2MLM-7HT-5@gated-at.bofh.it>
In reply to#1333497
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
 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web