projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a2039
)
ACPI: delete dead acpi_disabled setting code
author
Len Brown
<len.brown@intel.com>
Wed, 20 May 2009 03:47:38 +0000
(23:47 -0400)
committer
Len 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
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/acpi/boot.c
b/arch/x86/kernel/acpi/boot.c
index 723989d7f8029711c0a6fda92e8016101ac2ede7..d4acedf07866ef8c2d704816236b1e491016ae77 100644
(file)
--- 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