diff options
author | Hanjun Guo <hanjun.guo@linaro.org> | 2013-12-05 17:03:41 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-12-07 01:36:32 +0100 |
commit | 100eb0b04293fbb7af689ff7ddfe8fc8a46ab65c (patch) | |
tree | d54971c29b9b41c58e87861ff3f60109e0debcea /drivers/acpi/processor_thermal.c | |
parent | ACPI / dock: Drop redundant acpi_disabled check (diff) | |
download | linux-100eb0b04293fbb7af689ff7ddfe8fc8a46ab65c.tar.xz linux-100eb0b04293fbb7af689ff7ddfe8fc8a46ab65c.zip |
ACPI / sleep: Drop redundant acpi_disabled check
acpi_sleep_init() is only called from acpi_bus_init() and the
code logic shows that it doesn't need to check acpi_disabled:
acpi_init();
if (acpi_disabled) return;
acpi_bus_init();
acpi_sleep_init();
if (acpi_disabled)
return 0;
Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/processor_thermal.c')
0 files changed, 0 insertions, 0 deletions