aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-generic.c
diff options
context:
space:
mode:
authorLiguang Zhang <[email protected]>2020-03-26 14:29:10 +0000
committerRafael J. Wysocki <[email protected]>2020-03-28 12:25:41 +0000
commitb17b80645453f8c3174d5d3b55e590cb6a76ca29 (patch)
treecc2fcf9fd57efb6bc4237f19946b44998ef26610 /drivers/pci/controller/pci-host-generic.c
parentLinux 5.6-rc7 (diff)
downloadkernel-b17b80645453f8c3174d5d3b55e590cb6a76ca29.tar.gz
kernel-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 <[email protected]> [ rjw: Subject & changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions