commit | b17b80645453f8c3174d5d3b55e590cb6a76ca29 | [log] [tgz] |
---|---|---|
author | Liguang Zhang <zhangliguang@linux.alibaba.com> | Thu Mar 26 22:29:10 2020 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Mar 28 13:25:41 2020 +0100 |
tree | cc2fcf9fd57efb6bc4237f19946b44998ef26610 | |
parent | 16fbf79b0f83bc752cee8589279f1ebfe57b3b6e [diff] |
ACPI: CPPC: clean up acpi_get_psd_map() In acpi_get_psd_map() variable all_cpu_data[] can't be NULL and variable match_cpc_ptr has been checked before, no need check again at the end of the funchtion. Some additional optimizations can be made on top of that. Signed-off-by: Liguang Zhang <zhangliguang@linux.alibaba.com> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>