summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/acpi/boot.c
diff options
context:
space:
mode:
authorLen Brown2009-05-20 05:47:38 +0200
committerLen Brown2009-06-13 02:49:50 +0200
commitc636f753b5b943f08fb3490e7f1a9b47aa5cc7d3 (patch)
tree58eb3843d15fa309ecbd9cfdd0bf67bf10128d5a /arch/x86/kernel/acpi/boot.c
parentLinux 2.6.30 (diff)
downloadkernel-qcow2-linux-c636f753b5b943f08fb3490e7f1a9b47aa5cc7d3.tar.gz
kernel-qcow2-linux-c636f753b5b943f08fb3490e7f1a9b47aa5cc7d3.tar.xz
kernel-qcow2-linux-c636f753b5b943f08fb3490e7f1a9b47aa5cc7d3.zip
ACPI: delete dead acpi_disabled setting code
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>
Diffstat (limited to 'arch/x86/kernel/acpi/boot.c')
-rw-r--r--arch/x86/kernel/acpi/boot.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/acpi/boot.c b/arch/x86/kernel/acpi/boot.c
index 723989d7f802..d4acedf07866 100644
--- a/arch/x86/kernel/acpi/boot.c
+++ b/arch/x86/kernel/acpi/boot.c
@@ -43,11 +43,7 @@
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