diff options
author | 2013-12-06 00:03:40 +0800 | |
---|---|---|
committer | 2013-12-07 01:36:32 +0100 | |
commit | 4ef54410ca6e7e5f32d67c5fb8094ae07460814a (patch) | |
tree | 1b1e42cd65fc5db43ad77db66aaf35342c4161b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ACPI / table: Replace '1' with specific error return values (diff) | |
download | linux-dev-4ef54410ca6e7e5f32d67c5fb8094ae07460814a.tar.xz linux-dev-4ef54410ca6e7e5f32d67c5fb8094ae07460814a.zip |
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 <hanjun.guo@linaro.org>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions