diff options
author | Liguang Zhang <zhangliguang@linux.alibaba.com> | 2020-03-26 15:29:10 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-03-28 13:25:41 +0100 |
commit | b17b80645453f8c3174d5d3b55e590cb6a76ca29 (patch) | |
tree | cc2fcf9fd57efb6bc4237f19946b44998ef26610 /kernel/sysctl.c | |
parent | Linux 5.6-rc7 (diff) | |
download | linux-b17b80645453f8c3174d5d3b55e590cb6a76ca29.tar.xz linux-b17b80645453f8c3174d5d3b55e590cb6a76ca29.zip |
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>
Diffstat (limited to 'kernel/sysctl.c')
0 files changed, 0 insertions, 0 deletions