Skip to content

Commit

Permalink
ACPI: delete dead acpi_disabled setting code
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Len Brown committed Jun 13, 2009
1 parent 07a2039 commit c636f75
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions arch/x86/kernel/acpi/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c636f75

Please sign in to comment.