From: Hanjun Guo Date: Thu, 5 Dec 2013 16:03:41 +0000 (+0800) Subject: ACPI / sleep: Drop redundant acpi_disabled check X-Git-Tag: v3.14-rc1~107^2~12^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=100eb0b04293fbb7af689ff7ddfe8fc8a46ab65c;p=pandora-kernel.git 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 [rjw: Subject and changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed