From: Daniele Forsi <dforsi@gmail.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] arch/ia64: remove comments that do not match the corresponding #ifdef
Date: Sat, 09 Aug 2014 09:40:41 +0000 [thread overview]
Message-ID: <1407577241-4085-1-git-send-email-dforsi@gmail.com> (raw)
Remove these comments instead of fixing them because the other 28 #endif's
in this source file do not have comments.
Signed-off-by: Daniele Forsi <dforsi@gmail.com>
---
Looking at git blame, I found that:
CONFIG_PROC_VMCORE wasn't updated in commit d9a9855d0Â (always reserve
elfcore header memory in crash kernel) that changed the #ifdef;
CONFIG_APCI_BOOT (there's a typo APCI vs ACPI) wasn't updated in commit
888ba6c62 ([ACPI] delete CONFIG_ACPI_BOOT) that changed the #ifdef.
arch/ia64/kernel/setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index d86669b..38bfcfc 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -521,7 +521,7 @@ int __init reserve_elfcorehdr(u64 *start, u64 *end)
return 0;
}
-#endif /* CONFIG_PROC_VMCORE */
+#endif
void __init
setup_arch (char **cmdline_p)
@@ -566,7 +566,7 @@ setup_arch (char **cmdline_p)
32 : cpus_weight(early_cpu_possible_map)),
additional_cpus > 0 ? additional_cpus : 0);
# endif
-#endif /* CONFIG_APCI_BOOT */
+#endif
#ifdef CONFIG_SMP
smp_build_cpu_map();
--
2.0.1
reply other threads:[~2014-08-09 9:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1407577241-4085-1-git-send-email-dforsi@gmail.com \
--to=dforsi@gmail.com \
--cc=linux-ia64@vger.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