diff options
author | Len Brown <len.brown@intel.com> | 2009-05-19 23:47:38 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-06-12 20:49:50 -0400 |
commit | c636f753b5b943f08fb3490e7f1a9b47aa5cc7d3 (patch) | |
tree | 58eb3843d15fa309ecbd9cfdd0bf67bf10128d5a /arch | |
parent | 07a2039b8eb0af4ff464efd3dfd95de5c02648c6 (diff) |
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')
-rw-r--r-- | arch/x86/kernel/acpi/boot.c | 6 |
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 @@ | |||
43 | 43 | ||
44 | static int __initdata acpi_force = 0; | 44 | static int __initdata acpi_force = 0; |
45 | u32 acpi_rsdt_forced; | 45 | u32 acpi_rsdt_forced; |
46 | #ifdef CONFIG_ACPI | 46 | int acpi_disabled; |
47 | int acpi_disabled = 0; | ||
48 | #else | ||
49 | int acpi_disabled = 1; | ||
50 | #endif | ||
51 | EXPORT_SYMBOL(acpi_disabled); | 47 | EXPORT_SYMBOL(acpi_disabled); |
52 | 48 | ||
53 | #ifdef CONFIG_X86_64 | 49 | #ifdef CONFIG_X86_64 |