diff options
author | Joe Millenbach <jmillenbach@gmail.com> | 2012-07-19 21:04:40 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2012-07-21 14:07:29 -0400 |
commit | 641a1cebfe2f05fa1a48503d816fc70cf707d033 (patch) | |
tree | ffbec5d0e1f0db6d344007ac17a7eb24ffa043b7 | |
parent | 7aac3015b533add3e85222f9fd2ab66216b38746 (diff) |
x86, boot: Removed unused debug flag and set code
As we're no longer using the flag we don't need to extract the value from the
command line and store it. This is a step towards removing command line
parameter code.
Signed-off-by: Joe Millenbach <jmillenbach@gmail.com>
Link: http://lkml.kernel.org/r/1342746282-28497-6-git-send-email-jmillenbach@gmail.com
Signed-off-by: Gokul Caushik <caushik1@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | arch/x86/boot/compressed/misc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc.c index 8c29f82b15e4..88f7ff6da404 100644 --- a/arch/x86/boot/compressed/misc.c +++ b/arch/x86/boot/compressed/misc.c | |||
@@ -108,7 +108,6 @@ static void error(char *m); | |||
108 | * This is set up by the setup-routine at boot-time | 108 | * This is set up by the setup-routine at boot-time |
109 | */ | 109 | */ |
110 | struct boot_params *real_mode; /* Pointer to real-mode data */ | 110 | struct boot_params *real_mode; /* Pointer to real-mode data */ |
111 | static int debug; | ||
112 | 111 | ||
113 | void *memset(void *s, int c, size_t n); | 112 | void *memset(void *s, int c, size_t n); |
114 | void *memcpy(void *dest, const void *src, size_t n); | 113 | void *memcpy(void *dest, const void *src, size_t n); |
@@ -326,9 +325,6 @@ asmlinkage void decompress_kernel(void *rmode, memptr heap, | |||
326 | { | 325 | { |
327 | real_mode = rmode; | 326 | real_mode = rmode; |
328 | 327 | ||
329 | if (cmdline_find_option_bool("debug")) | ||
330 | debug = 1; | ||
331 | |||
332 | if (real_mode->screen_info.orig_video_mode == 7) { | 328 | if (real_mode->screen_info.orig_video_mode == 7) { |
333 | vidmem = (char *) 0xb0000; | 329 | vidmem = (char *) 0xb0000; |
334 | vidport = 0x3b4; | 330 | vidport = 0x3b4; |