diff options
author | 2023-05-04 16:43:01 +0530 | |
---|---|---|
committer | 2023-05-19 10:29:40 -0500 | |
commit | 911afb9f9516a8ea2db1d15b18436c19a591dc5c (patch) | |
tree | e928768fc27436bd0f9f99af8cbb24ffcde2be12 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/ASPM: Rename L1.2-specific functions from 'l1ss' to 'l12' (diff) | |
download | wireguard-linux-911afb9f9516a8ea2db1d15b18436c19a591dc5c.tar.xz wireguard-linux-911afb9f9516a8ea2db1d15b18436c19a591dc5c.zip |
PCI/ASPM: Remove unnecessary ASPM_STATE_L1SS check
Previously aspm_l1ss_init() checked if ASPM_STATE_L1SS is supported before
calling aspm_calc_l12_info(), only for that function to return if
ASPM_STATE_L1_2_MASK is not supported. Simplify the logic by directly
checking for ASPM_STATE_L1_2_MASK.
Link: https://lore.kernel.org/r/20230504111301.229358-6-ajayagarwal@google.com
Signed-off-by: Ajay Agarwal <ajayagarwal@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions