]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
ACPI: delete dead acpi_disabled setting code
authorLen Brown <len.brown@intel.com>
Wed, 20 May 2009 03:47:38 +0000 (23:47 -0400)
committerLen Brown <len.brown@intel.com>
Sat, 13 Jun 2009 00:49:50 +0000 (20:49 -0400)
Testing CONFIG_ACPI inside boot.c is a waste of text,
since boot.c is built only when CONFIG_ACPI=y

Signed-off-by: Len Brown <len.brown@intel.com>
arch/x86/kernel/acpi/boot.c

index 723989d7f8029711c0a6fda92e8016101ac2ede7..d4acedf07866ef8c2d704816236b1e491016ae77 100644 (file)
 
 static int __initdata acpi_force = 0;
 u32 acpi_rsdt_forced;
-#ifdef CONFIG_ACPI
-int acpi_disabled = 0;
-#else
-int acpi_disabled = 1;
-#endif
+int acpi_disabled;
 EXPORT_SYMBOL(acpi_disabled);
 
 #ifdef CONFIG_X86_64