Skip to content

Commit

Permalink
x86/boot: Remove unused 'is_big_kernel' variable
Browse files Browse the repository at this point in the history
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:

  5e47c47 ("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>
  • Loading branch information
Nicolas Iooss authored and Ingo Molnar committed Feb 16, 2016
1 parent a91bbe0 commit 25b4caf
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/x86/boot/tools/build.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 25b4caf

Please sign in to comment.