Skip to contentSkip to conversation

arch/ia64: remove comments that do not match the corresponding #ifdef

PATCH New Daniele Forsi 1 participant 1 message Aug 9, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/ia64: remove comments that do not match the corresponding #ifdef

Remove these comments instead of fixing them because the other 28 #endif's in this source file do not have comments.

---
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(-)
arch/ia64/kernel/setup.c +2 -2
index d86669b..38bfcfc 100644
@@ -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();
Signature · 1 line
2.0.1