diff options
author | Ajay Agarwal <ajayagarwal@google.com> | 2023-05-04 16:43:01 +0530 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2023-05-19 10:29:40 -0500 |
commit | 911afb9f9516a8ea2db1d15b18436c19a591dc5c (patch) | |
tree | e928768fc27436bd0f9f99af8cbb24ffcde2be12 /scripts/clang-tools/gen_compile_commands.py | |
parent | 05a55d9ca1457295db73f127e39ec3b18f0b32b2 (diff) |
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 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions