diff options
| author | Hanjun Guo <[email protected]> | 2013-12-06 00:03:40 +0800 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2013-12-07 01:36:32 +0100 |
| commit | 4ef54410ca6e7e5f32d67c5fb8094ae07460814a (patch) | |
| tree | 1b1e42cd65fc5db43ad77db66aaf35342c4161b0 /tools/perf/scripts/python/sched-migration.py | |
| parent | 95df812dbdc350bfcf31e247e9100c378a472480 (diff) | |
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 <[email protected]>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions