[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1437411100-10357-1-git-send-email-p.pisati@gmail.com>
Date: Mon, 20 Jul 2015 18:51:40 +0200
From: Paolo Pisati <p.pisati@...il.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: Ingo Molnar <mingo@...nel.org>, "H. Peter Anvin" <hpa@...or.com>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] x86: hd0_info and hd1_info are obsolete and unused fields
hd0_info and hd1_info are not used anymore, don't reference them in the code
Signed-off-by: Paolo Pisati <p.pisati@...il.com>
---
arch/x86/kernel/kexec-bzimage64.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/kernel/kexec-bzimage64.c b/arch/x86/kernel/kexec-bzimage64.c
index 3666a84..c0ae428 100644
--- a/arch/x86/kernel/kexec-bzimage64.c
+++ b/arch/x86/kernel/kexec-bzimage64.c
@@ -218,10 +218,6 @@ setup_boot_parameters(struct kimage *image, struct boot_params *params,
/* Default APM info */
memset(¶ms->apm_bios_info, 0, sizeof(params->apm_bios_info));
- /* Default drive info */
- memset(¶ms->hd0_info, 0, sizeof(params->hd0_info));
- memset(¶ms->hd1_info, 0, sizeof(params->hd1_info));
-
if (image->type == KEXEC_TYPE_CRASH) {
ret = crash_setup_memmap_entries(image, params);
if (ret)
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists