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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux