From: Hanjun Guo Date: Thu, 5 Dec 2013 16:03:40 +0000 (+0800) Subject: ACPI / dock: Drop redundant acpi_disabled check X-Git-Tag: v3.14-rc1~107^2~12^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ef54410ca6e7e5f32d67c5fb8094ae07460814a;p=pandora-kernel.git ACPI / dock: Drop redundant acpi_disabled check acpi_dock_init() is only called from acpi_scan_init() and the code logic shows that it doesn't need to check acpi_disabled: acpi_init(); if (acpi_disabled) return; acpi_scan_init(); acpi_dock_init(); if (acpi_disabled) /* redundant */ return; Signed-off-by: Hanjun Guo [rjw: Subject and changelog] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed