From: Paolo Pisati <p.pisati@gmail.com>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>, "H. Peter Anvin" <hpa@zytor.com>,
x86@kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] x86: hd0_info and hd1_info are obsolete and unused fields
Date: Mon, 20 Jul 2015 18:51:40 +0200 [thread overview]
Message-ID: <1437411100-10357-1-git-send-email-p.pisati@gmail.com> (raw)
hd0_info and hd1_info are not used anymore, don't reference them in the code
Signed-off-by: Paolo Pisati <p.pisati@gmail.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
next reply other threads:[~2015-07-20 16:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-20 16:51 Paolo Pisati [this message]
2015-07-21 6:17 ` [PATCH] x86: hd0_info and hd1_info are obsolete and unused fields Ingo Molnar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437411100-10357-1-git-send-email-p.pisati@gmail.com \
--to=p.pisati@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox